Portable scanning device

ABSTRACT

A handheld optical scanner for capturing images of text from a rendered document is described. The scanner includes a package suitable to be held in a user&#39;s hand. The package contains an optical sensor that captures images of text from a rendered document. The package also contains a proximity sensor that determines when the optical sensor is within a predetermined distance and orientation of a rendered document. The package further contains a triggering mechanism that causes the optical sensor to capture an image of text from a rendered document when the proximity sensor determines that the optical sensor is within a predetermined distance and orientation of a rendered document.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.11/209,333 filed Aug. 23, 2005, now abandoned which is aContinuation-In-Part of the following, each of which is herebyincorporated by reference in its entirety: U.S. patent application Ser.No. 11/004,637 filed on Dec. 3, 2004, now U.S. Pat. No. 7,707,039 U.S.patent application Ser. No. 11/097,961, filed Apr. 1, 2005, nowabandoned entitled METHODS AND SYSTEMS FOR INITIATING APPLICATIONPROCESSES BY DATA CAPTURE FROM RENDERED DOCUMENTS, U.S. patentapplication Ser. No. 11/097,093, filed Apr. 1, 2005, now abandonedentitled DETERMINING ACTIONS INVOLVING CAPTURED INFORMATION ANDELECTRONIC CONTENT ASSOCIATED WITH RENDERED DOCUMENTS, U.S. patentapplication Ser. No. 11/098,038, filed Apr. 1, 2005, now U.S. Pat. No.7,599,844 entitled CONTENT ACCESS WITH HANDHELD DOCUMENT DATA CAPTUREDEVICES, U.S. patent application Ser. No. 11/098,014, filed Apr. 1,2005, now U.S. Pat. No. 8,019,648 entitled SEARCH ENGINES AND SYSTEMSWITH HANDHELD DOCUMENT DATA CAPTURE DEVICES, U.S. patent applicationSer. No. 11/097,103, filed Apr. 1, 2005, now U.S. Pat. No. 7,596,269entitled TRIGGERING ACTIONS IN RESPONSE TO OPTICALLY OR ACOUSTICALLYCAPTURING KEYWORDS FROM A RENDERED DOCUMENT, U.S. patent applicationSer. No. 11/098,043, filed Apr. 1, 2005, now abandoned entitledSEARCHING AND ACCESSING DOCUMENTS ON PRIVATE NETWORKS FOR USE WITHCAPTURES FROM RENDERED DOCUMENTS, U.S. patent application Ser. No.11/097,981, filed Apr. 1, 2005, now U.S. Pat. No. 7,606,741 entitledINFORMATION GATHERING SYSTEM AND METHOD, U.S. patent application Ser.No. 11/097,089, filed Apr. 1, 2005, entitled DOCUMENT ENHANCEMENT SYSTEMAND METHOD, U.S. patent application Ser. No. 11/097,835, filed Apr. 1,2005, now U.S. Pat. No. 7,831,912 entitled PUBLISHING TECHNIQUES FORADDING VALUE TO A RENDERED DOCUMENT, U.S. patent application Ser. No.11/098,016, filed Apr. 1, 2005, now U.S. Pat. No. 7,421,155 entitledARCHIVE OF TEXT CAPTURES FROM RENDERED DOCUMENTS, U.S. patentapplication Ser. No. 11/097,828, filed Apr. 1, 2005, now U.S. Pat. No.7,742,953 entitled ADDING INFORMATION OR FUNCTIONALITY TO A RENDEREDDOCUMENT VIA ASSOCIATION WITH AN ELECTRONIC COUNTERPART, U.S. patentapplication Ser. No. 11/097,833, filed Apr. 1, 2005, entitled AGGREGATEANALYSIS OF TEXT CAPTURES PERFORMED BY MULTIPLE USERS FROM RENDEREDDOCUMENTS, U.S. patent application Ser. No. 11/097,836, filed Apr. 1,2005, now abandoned entitled ESTABLISHING AN INTERACTIVE ENVIRONMENT FORRENDERED DOCUMENTS, U.S. patent application Ser. No. 11/098,042, filedApr. 1, 2005, now U.S. Pat. No. 7,593,605 entitled DATA CAPTURE FROMRENDERED DOCUMENTS USING HANDHELD DEVICE, U.S. patent application Ser.No. 11/096,704, filed Apr. 1, 2005, now U.S. Pat. No. 7,599,580 entitledCAPTURING TEXT FROM RENDERED DOCUMENTS USING SUPPLEMENTAL INFORMATION,U.S. patent application Ser. No. 11/110,353, filed Apr. 19, 2005, nowU.S. Pat. No. 7,702,624 entitled PROCESSING TECHNIQUES FOR VISUALCAPTURE DATA FROM A RENDERED DOCUMENT, U.S. patent application Ser. No.11/131,945, filed May 17, 2005, now U.S. Pat. No. 7,818,215 entitledPROCESSING TECHNIQUES FOR TEXT CAPTURE FROM A RENDERED DOCUMENT, U.S.patent application Ser. No. 11/185,908, filed Jul. 19, 2005, nowabandoned entitled AUTOMATIC MODIFICATION OF WEB PAGES, U.S. patentapplication Ser. No. 11/208,408, filed Aug. 18, 2005, now abandonedentitled SCANNER HAVING CONNECTED AND UNCONNECTED OPERATIONAL BEHAVIORS,U.S. patent application Ser. No. 11/208,457, filed Aug. 18, 2005, nowabandoned entitled LOCATING ELECTRONIC INSTANCES OF DOCUMENTS BASED ONRENDERED INSTANCES, DOCUMENT FRAGMENT DIGEST GENERATION, AND DIGESTBASED DOCUMENT FRAGMENT DETERMINATION, U.S. patent application Ser. No.11/208,458, filed Aug. 18, 2005, now U.S. Pat. No. 7,437,023 entitledMETHODS, SYSTEMS AND COMPUTER PROGRAM PRODUCTS FOR DATA GATHERING IN ADIGITAL AND HARD COPY DOCUMENT ENVIRONMENT, U.S. patent application Ser.No. 11/208,461, filed Aug. 18, 2005, now U.S. Pat. No. 8,005,720entitled APPLYING SCANNED INFORMATION TO IDENTIFY CONTENT.

The Ser. No. 11/209,333 application claims priority to, and incorporatesby reference in their entirety, the following U.S. Provisional PatentApplications: Application No. 60/604,103 filed on Aug. 23, 2004,Application No. 60/604,098 filed on Aug. 23, 2004, Application No.60/604,100 filed on Aug. 23, 2004, Application No. 60/604,102 filed onAug. 23, 2004, Application No. 60/605,229 filed on Aug. 27, 2004,Application No. 60/605,105 filed on Aug. 27, 2004, Application No.60/613,243 filed on Sep. 27, 2004, Application No. 60/613,628 filed onSep. 27, 2004, Application No. 60/613,632 filed on Sep. 27, 2004,Application No. 60/613,589 filed on Sep. 27, 2004, Application No.60/613,242 filed on Sep. 27, 2004, Application No. 60/613,602 filed onSep. 27, 2004, Application No. 60/613,340 filed on Sep. 27, 2004,Application No. 60/613,634 filed on Sep. 27, 2004, Application No.60/613,461 filed on Sep. 27, 2004, Application No. 60/613,455 filed onSep. 27, 2004, Application No. 60/613,460 filed on Sep. 27, 2004,Application No. 60/613,400 filed on Sep. 27, 2004, Application No.60/613,456 filed on Sep. 27, 2004, Application No. 60/613,341 filed onSep. 27, 2004, Application No. 60/613,361 filed on Sep. 27, 2004,Application No. 60/613,454 filed on Sep. 27, 2004, Application No.60/613,339 filed on Sep. 27, 2004, Application No. 60/613,633 filed onSep. 27, 2004, Application No. 60/615,378 filed on Oct. 1, 2004,Application No. 60/615,112 filed on Oct. 1, 2004, Application No.60/615,538 filed on Oct. 1, 2004, Application No. 60/617,122 filed onOct. 7, 2004, Application No. 60/622,906 filed on Oct. 28, 2004,Application No. 60/633,452 filed on Dec. 6, 2004, Application No.60/633,678 filed on Dec. 6, 2004, Application No. 60/633,486 filed onDec. 6, 2004, Application No. 60/633,453 filed on Dec. 6, 2004,Application No. 60/634,627 filed on Dec. 9, 2004, Application No.60/634,739 filed on Dec. 9, 2004, Application No. 60/647,684 filed onJan. 26, 2005, Application No. 60/648,746 filed on Jan. 31, 2005,Application No. 60/653,372 filed on Feb. 15, 2005, Application No.60/653,663 filed on Feb. 16, 2005, Application No. 60/653,669 filed onFeb. 16, 2005, Application No. 60/653,899 filed on Feb. 16, 2005,Application No. 60/653,679 filed on Feb. 16, 2005, Application No.60/653,847 filed on Feb. 16, 2005, Application No. 60/654,379 filed onFeb. 17, 2005, Application No. 60/654,368 filed on Feb. 18, 2005,Application No. 60/654,326 filed on Feb. 18, 2005, Application No.60/654,196 filed on Feb. 18, 2005, Application No. 60/655,279 filed onFeb. 22, 2005, Application No. 60/655,280 filed on Feb. 22, 2005,Application No. 60/655,987 filed on Feb. 22, 2005, Application No.60/655,697 filed on Feb. 22, 2005, Application No. 60/655,281 filed onFeb. 22, 2005, and Application No. 60/657,309 filed on Feb. 28, 2005.

This application incorporates by reference in their entirety, thefollowing U.S. Provisional Patent Applications: Application No.60/563,520 filed on Apr. 19, 2004, Application No. 60/563,485 filed onApr. 19, 2004, Application No. 60/564,688 filed on Apr. 23, 2004,Application No. 60/564,846 filed on Apr. 23, 2004, Application No.60/566,667 filed on Apr. 30, 2004, Application No. 60/571,381 filed onMay 14, 2004, Application No. 60/571,560 filed on May 14, 2004,Application No. 60/571,715 filed on May 17, 2004, Application No.60/589,203 filed on Jul. 19, 2004, Application No. 60/589,201 filed onJul. 19, 2004, Application No. 60/589,202 filed on Jul. 19, 2004,Application No. 60/598,821 filed on Aug. 2, 2004, Application No.60/602,956 filed on Aug. 18, 2004, Application No. 60/602,925 filed onAug. 18, 2004, Application No. 60/602,947 filed on Aug. 18, 2004,Application No. 60/602,897 filed on Aug. 18, 2004, Application No.60/602,896 filed on Aug. 18, 2004, Application No. 60/602,930 filed onAug. 18, 2004, Application No. 60/602,898 filed on Aug. 18, 2004,Application No. 60/603,466 filed on Aug. 19, 2004, Application No.60/603,082 filed on Aug. 19, 2004, Application No. 60/603,081 filed onAug. 19, 2004, Application No. 60/603,498 filed on Aug. 20, 2004,Application No. 60/603,358 filed on Aug. 20, 2004.

TECHNICAL FIELD

The following disclosure relates generally to scanners, and moreparticularly to handheld scanning devices such as pen scanners.

BACKGROUND

Scanners are well known devices that capture and digitize images ofdocuments. Most scanners are relatively large devices that are used toscan documents a full page at a time. An example of such a scanner isdiscussed in U.S. Pat. No. 6,678,075.

Recently, smaller scanners have been introduced. Typically, thesesmaller scanners are used to scan less than a full page of a document.For example, the can be used to scan sentences or phrases from adocument. The data obtained from the scanning process can later betransferred to a personal computer for storage.

Some handheld scanners start scanning when a button is depressed, andsome scan as long as this button is depressed. Some automatically detectthat a scan has begun because a sensor near the tip of the scanner isdepressed. Some scanners may have integrated flash memory, or aninfra-red or USB connection to store data locally on a scanner orremotely on a personal computer. Many scanners have a power switch thatmay be used to turn on these scanners, and some are able toautomatically shut down due to inactivity. Some scanners may only beable to store text. Some are able to capture an image of unrecognizedcontent (e.g. handwriting, mathematical symbols, pictures) if the usertouches a button.

On some scanners, a user may be able to set a switch so the scanner isbetter able to interpret what it is scanning (e.g. setting a languagecharacter set). Some scanners may be controlled with a separate userinterface on a personal computer, and then having to synchronize thescanner with this computer. Currently, these scanners do not allow auser to control functionality or results with methods other thanactivating a button or switch or some sort. A user is not able to makeuse of the intuitive gestures to users using an actual pen.

Some devices intend to allow a person to scan a document and thendetermine which characters have been scanned. While many of thesedevices are given form factors reminiscent of pens, they are oftenintended primarily to convert printed text to an electronic form. Onegoal of some embodiments of this invention is to allow users to enjoythe benefits of scanning text by annotating it.

Thus, there is a need for a portable scanner with more intuitivecontrols.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a data flow diagram that illustrates the flow of informationin one embodiment of the core system.

FIG. 2 is a component diagram of components included in a typicalimplementation of the system in the context of a typical operatingenvironment.

FIG. 3 is a block diagram of an embodiment of a scanner.

FIG. 4 is a block diagram showing typical components of a scanner.

FIG. 5 is a block diagram showing alternate typical components of ascanner.

FIG. 6 is a block diagram showing alternate typical components of ascanner.

FIG. 7 is a light-processing diagram showing the operation of a typicaloptics configuration of the scanner.

FIG. 8 is a schematic diagram showing switches incorporated in thescanner in some embodiments.

FIG. 9 is a schematic diagram showing a visual output componentincorporated into the scanner in some embodiments in a first state.

FIG. 10 is a schematic diagram showing a visual output componentincorporated into the scanner in some embodiments in a second state.

FIG. 11 is a flow diagram showing steps typically performed by thesystem to monitor a scan for completeness.

FIG. 12 is a flow diagram showing steps typically performed by thesystem in order to perform symbolic compression.

FIG. 13 is a state diagram showing the evolving state of the symboliccompression process while processing a scan capturing the word“determinative.”

FIG. 14 is a flow diagram showing steps typically performed by thesystem to determine character offsets within an image captured during ascan.

FIG. 15 is a convolution diagram showing one way to visualize thecharacter offset determination process.

FIG. 16 is a further convolution diagram.

FIG. 17 is a flow diagram showing steps typically performed by thesystem in order to record subsegmented segments.

FIG. 18 is a flow diagram showing steps typically performed by thesystem in order to recognize “combination gestures” that are performedby performing a series of constituent gestures.

FIG. 19 is a flow diagram showing steps typically performed by thesystem to detect a backwards motion.

FIG. 20 is a gesture diagram showing samples to detect that a user hasmade a circle gesture.

FIG. 21 is a gesture diagram showing sample attempts at performing acircle gesture.

FIG. 22 is a flow diagram showing steps typically performed by thesystem to detect a rubbing gesture.

FIG. 23 is a schematic diagram showing a first point in an example ofthe performance of the backward slash scanning gesture.

FIG. 24 is a schematic diagram showing a second point in an example ofthe performance of the backward slash scanning gesture.

FIG. 25 is a schematic diagram showing a third point in an example ofthe performance of the backward slash scanning gesture.

DETAILED DESCRIPTION

Overview

A device for interacting with rendered documents includes a scanner andmemory is described. The device can include a small, stand-alonescanning device, or it may include at least part of another device, suchas at least part of a pen-style device, at least part of a mouse, atleast part of a cell phone, at least part of a remote control, or atleast part of a personal digital assistant, among numerouspossibilities. The device can include one or more means to establishcommunication with at least one of a separate computing device or anetwork, and can be used both when such communication is currentlyestablished (“on-line”) and also in the absence of any such establishedcommunication (“off-line”).

Information from rendered documents is scanned to the memory, and a userof the device is signaled when sufficient information has been obtainedto determine at least one action associated with the scannedinformation. For example, the user may be signaled when sufficientinformation has been obtained to determine at least one documentcomprising the scanned information, or the user may be signaled whenenough information has been has been obtained to determine a commerceoperation, an annotation, a format operation, or identifying anadvertisement.

Determining when sufficient information has been obtained may involveascertaining a type or types of the scanned symbols, counts or relativepositions of the scanned symbols of various types, an overall number ofscanned symbols, a number of scanned words, a count of stop and non-stopwords or symbols, or the frequency of occurrence of words or symbols ofvarious types, among other things. The methods used for making such adetermination may differ depending on whether the device is on-line oroff-line.

Scan context information may be stored in association with the scannedinformation in the memory. The scan context information may facilitatedetermination of an action or actions using or otherwise involving thescanned information.

Subsequent to the scanning, upon establishing communication between thedevice and at least one of a separate computing device or a network, thescanned information may be transferred to at least one of the separatecomputing device or the network, for further processing and to carry outactions using or involving the scanned information. Instances of scannedinformation may be accumulated in a repository for the user, and may bedistinguished according to numerous criteria, including, for example,whether the instance was collected on-line or off-line, whether thesystem has presented the user with one or more possible actions that maybe associated with the instance, and whether the user has indicated oneor more actions to be performed with respect to the instance.

Part I—Introduction

1. Nature of the System

For every paper document that has an electronic counterpart, thereexists a discrete amount of information in the paper document that canidentify the electronic counterpart. In some embodiments, the systemuses a sample of text captured from a paper document, for example usinga handheld scanner, to identify and locate an electronic counterpart ofthe document. In most cases, the amount of text needed by the system isvery small in that a few words of text from a document can oftenfunction as an identifier for the paper document and as a link to itselectronic counterpart. In addition, the system may use those few wordsto identify not only the document, but also a location within thedocument.

Thus, paper documents and their digital counterparts can be associatedin many useful ways using the system discussed herein.

1.1. A Quick Overview of the Future

Once the system has associated a piece of text in a paper document witha particular digital entity has been established, the system is able tobuild a huge amount of functionality on that association.

It is increasingly the case that most paper documents have an electroniccounterpart that is accessible on the World Wide Web or from some otheronline database or document corpus, or can be made accessible, such asin response to the payment of a fee or subscription. At the simplestlevel, then, when a user scans a few words in a paper document, thesystem can retrieve that electronic document or some part of it, ordisplay it, email it to somebody, purchase it, print it or post it to aweb page. As additional examples, scanning a few words of a book that aperson is reading over breakfast could cause the audio-book version inthe person's car to begin reading from that point when s/he startsdriving to work, or scanning the serial number on a printer cartridgecould begin the process of ordering a replacement.

The system implements these and many other examples of “paper/digitalintegration” without requiring changes to the current processes ofwriting, printing and publishing documents, giving such conventionalrendered documents a whole new layer of digital functionality.

1.2. Terminology

A typical use of the system begins with using an optical scanner to scantext from a paper document, but it is important to note that othermethods of capture from other types of document are equally applicable.The system is therefore sometimes described as scanning or capturingtext from a rendered document, where those terms are defined as follows:

A rendered document is a printed document or a document shown on adisplay or monitor. It is a document that is perceptible to a human,whether in permanent form or on a transitory display.

Scanning or capturing is the process of systematic examination to obtaininformation from a rendered document. The process may involve opticalcapture using a scanner or camera (for example a camera in a cellphone),or it may involve reading aloud from the document into an audio capturedevice or typing it on a keypad or keyboard. For more examples, seeSection 15.

2. Introduction to the System

This section describes some of the devices, processes and systems thatconstitute a system for paper/digital integration. In variousembodiments, the system builds a wide variety of services andapplications on this underlying core that provides the basicfunctionality.

2.1. The Processes

FIG. 1 is a data flow diagram that illustrates the flow of informationin one embodiment of the core system. Other embodiments may not use allof the stages or elements illustrated here, while some will use manymore.

Text from a rendered document is captured 100, typically in optical formby an optical scanner or audio form by a voice recorder, and this imageor sound data is then processed 102, for example to remove artifacts ofthe capture process or to improve the signal-to-noise ratio. Arecognition process 104 such as OCR, speech recognition, orautocorrelation then converts the data into a signature, comprised insome embodiments of text, text offsets, or other symbols. Alternatively,the system performs an alternate form of extracting document signaturefrom the rendered document. The signature represents a set of possibletext transcriptions in some embodiments. This process may be influencedby feedback from other stages, for example, if the search process andcontext analysis 110 have identified some candidate documents from whichthe capture may originate, thus narrowing the possible interpretationsof the original capture.

A post-processing 106 stage may take the output of the recognitionprocess and filter it or perform such other operations upon it as may beuseful. Depending upon the embodiment implemented, it may be possible atthis stage to deduce some direct actions 107 to be taken immediatelywithout reference to the later stages, such as where a phrase or symbolhas been captured which contains sufficient information in itself toconvey the user's intent. In these cases no digital counterpart documentneed be referenced, or even known to the system.

Typically, however, the next stage will be to construct a query 108 or aset of queries for use in searching. Some aspects of the queryconstruction may depend on the search process used and so cannot beperformed until the next stage, but there will typically be someoperations, such as the removal of obviously misrecognized or irrelevantcharacters, which can be performed in advance.

The query or queries are then passed to the search and context analysisstage 110. Here, the system optionally attempts to identify the documentfrom which the original data was captured. To do so, the systemtypically uses search indices and search engines 112, knowledge aboutthe user 114 and knowledge about the user's context or the context inwhich the capture occurred 116. Search engine 112 may employ and/orindex information specifically about rendered documents, about theirdigital counterpart documents, and about documents that have a web(internet) presence). It may write to, as well as read from, many ofthese sources and, as has been mentioned, it may feed information intoother stages of the process, for example by giving the recognitionsystem 104 information about the language, font, rendering and likelynext words based on its knowledge of the candidate documents.

In some circumstances the next stage will be to retrieve 120 a copy ofthe document or documents that have been identified. The sources of thedocuments 124 may be directly accessible, for example from a localfiling system or database or a web server, or they may need to becontacted via some access service 122 which might enforceauthentication, security or payment or may provide other services suchas conversion of the document into a desired format.

Applications of the system may take advantage of the association ofextra functionality or data with part or all of a document. For example,advertising applications discussed in Section 10.4 may use anassociation of particular advertising messages or subjects with portionsof a document. This extra associated functionality or data can bethought of as one or more overlays on the document, and is referred toherein as “markup.” The next stage of the process 130, then, is toidentify any markup relevant to the captured data. Such markup may beprovided by the user, the originator, or publisher of the document, orsome other party, and may be directly accessible from some source 132 ormay be generated by some service 134. In various embodiments, markup canbe associated with, and apply to, a rendered document and/or the digitalcounterpart to a rendered document, or to groups of either or both ofthese documents.

Lastly, as a result of the earlier stages, some actions may be taken140. These may be default actions such as simply recording theinformation found, they may be dependent on the data or document, orthey may be derived from the markup analysis. Sometimes the action willsimply be to pass the data to another system. In some cases the variouspossible actions appropriate to a capture at a specific point in arendered document will be presented to the user as a menu on anassociated display, for example on a local display 332, on a computerdisplay 212 or a mobile phone or PDA display 216. If the user doesn'trespond to the menu, the default actions can be taken.

2.2. The Components

FIG. 2 is a component diagram of components included in a typicalimplementation of the system in the context of a typical operatingenvironment. As illustrated, the operating environment includes one ormore optical scanning capture devices 202 or voice capture devices 204.In some embodiments, the same device performs both functions. Eachcapture device is able to communicate with other parts of the systemsuch as a computer 212 and a mobile station 216 (e.g., a mobile phone orPDA) using either a direct wired or wireless connection, or through thenetwork 220, with which it can communicate using a wired or wirelessconnection, the latter typically involving a wireless base station 214.In some embodiments, the capture device is integrated in the mobilestation, and optionally shares some of the audio and/or opticalcomponents used in the device for voice communications andpicture-taking.

Computer 212 may include a memory containing computer executableinstructions for processing an order from scanning devices 202 and 204.As an example, an order can include an identifier (such as a serialnumber of the scanning device 202/204 or an identifier that partially oruniquely identifies the user of the scanner), scanning contextinformation (e.g., time of scan, location of scan, etc.) and/or scannedinformation (such as a text string) that is used to uniquely identifythe document being scanned. In alternative embodiments, the operatingenvironment may include more or less components.

Also available on the network 220 are search engines 232, documentsources 234, user account services 236, markup services 238 and othernetwork services 239. The network 220 may be a corporate intranet, thepublic Internet, a mobile phone network or some other network, or anyinterconnection of the above.

Regardless of the manner by which the devices are coupled to each other,they may all may be operable in accordance with well-known commercialtransaction and communication protocols (e.g., Internet Protocol (IP)).In various embodiments, the functions and capabilities of scanningdevice 202, computer 212, and mobile station 216 may be wholly orpartially integrated into one device. Thus, the terms scanning device,computer, and mobile station can refer to the same device depending uponwhether the device incorporates functions or capabilities of thescanning device 202, computer 212 and mobile station 216. In addition,some or all of the functions of the search engines 232, document sources234, user account services 236, markup services 238 and other networkservices 239 may be implemented on any of the devices and/or otherdevices not shown.

2.3. The Capture Device

As described above, the capture device may capture text using an opticalscanner that captures image data from the rendered document, or using anaudio recording device that captures a user's spoken reading of thetext, or other methods. Some embodiments of the capture device may alsocapture images, graphical symbols and icons, etc., including machinereadable codes such as barcodes. The device may be exceedingly simple,consisting of little more than the transducer, some storage, and a datainterface, relying on other functionality residing elsewhere in thesystem, or it may be a more full-featured device. For illustration, thissection describes a device based around an optical scanner and with areasonable number of features.

Scanners are well known devices that capture and digitize images. Anoffshoot of the photocopier industry, the first scanners were relativelylarge devices that captured an entire document page at once. Recently,portable optical scanners have been introduced in convenient formfactors, such as a pen-shaped handheld device.

In some embodiments, the portable scanner is used to scan text,graphics, or symbols from rendered documents. The portable scanner has ascanning element that captures text, symbols, graphics, etc, fromrendered documents. In addition to documents that have been printed onpaper, in some embodiments, rendered documents include documents thathave been displayed on a screen such as a CRT monitor or LCD display.

FIG. 3 is a block diagram of an embodiment of a scanner 302. The scanner302 comprises an optical scanning head 308 to scan information fromrendered documents and convert it to machine-compatible data, and anoptical path 306, typically a lens, an aperture or an image conduit toconvey the image from the rendered document to the scanning head. Thescanning head 308 may incorporate a Charge-Coupled Device (CCD), aComplementary Metal Oxide Semiconductor (CMOS) imaging device, or anoptical sensor of another type.

A microphone 310 and associated circuitry convert the sound of theenvironment (including spoken words) into machine-compatible signals,and other input facilities exist in the form of buttons, scroll-wheelsor other tactile sensors such as touch-pads 314.

Feedback to the user is possible through a visual display or indicatorlights 332, through a loudspeaker or other audio transducer 334 andthrough a vibrate module 336.

The scanner 302 comprises logic 326 to interact with the various othercomponents, possibly processing the received signals into differentformats and/or interpretations. Logic 326 may be operable to read andwrite data and program instructions stored in associated storage 330such as RAM, ROM, flash, or other suitable memory. It may read a timesignal from the clock unit 328. The scanner 302 also includes aninterface 316 to communicate scanned information and other signals to anetwork and/or an associated computing device. In some embodiments, thescanner 302 may have an on-board power supply 332. In other embodiments,the scanner 302 may be powered from a tethered connection to anotherdevice, such as a Universal Serial Bus (USB) connection.

As an example of one use of scanner 302, a reader may scan some textfrom a newspaper article with scanner 302. The text is scanned as abit-mapped image via the scanning head 308. Logic 326 causes thebit-mapped image to be stored in memory 330 with an associatedtime-stamp read from the clock unit 328. Logic 326 may also performoptical character recognition (OCR) or other post-scan processing on thebit-mapped image to convert it to text. Logic 326 may optionally extracta signature from the image, for example by performing a convolution-likeprocess to locate repeating occurrences of characters, symbols orobjects, and determine the distance or number of other characters,symbols, or objects between these repeated elements. The reader may thenupload the bit-mapped image (or text or other signature, if post-scanprocessing has been performed by logic 326) to an associated computervia interface 316.

As an example of another use of scanner 302, a reader may capture sometext from an article as an audio file by using microphone 310 as anacoustic capture port. Logic 326 causes audio file to be stored inmemory 328. Logic 326 may also perform voice recognition or otherpost-scan processing on the audio file to convert it to text. As above,the reader may then upload the audio file (or text produced by post-scanprocessing performed by logic 326) to an associated computer viainterface 316.

Part II—Overview of the Areas of the Core System

As paper-digital integration becomes more common, there are many aspectsof existing technologies that can be changed to take better advantage ofthis integration, or to enable it to be implemented more effectively.This section highlights some of those issues.

3. Search

Searching a corpus of documents, even so large a corpus as the WorldWide Web, has become commonplace for ordinary users, who use a keyboardto construct a search query which is sent to a search engine. Thissection and the next discuss the aspects of both the construction of aquery originated by a capture from a rendered document, and the searchengine that handles such a query.

3.1. Scan/Speak/Type as Search Query

Use of the described system typically starts with a few words beingcaptured from a rendered document using any of several methods,including those mentioned in Section 1.2 above. Where the input needssome interpretation to convert it to text, for example in the case ofOCR or speech input, there may be end-to-end feedback in the system sothat the document corpus can be used to enhance the recognition process.End-to-end feedback can be applied by performing an approximation of therecognition or interpretation, identifying a set of one or morecandidate matching documents, and then using information from thepossible matches in the candidate documents to further refine orrestrict the recognition or interpretation. Candidate documents can beweighted according to their probable relevance (for example, based onthen number of other users who have scanned in these documents, or theirpopularity on the Internet), and these weights can be applied in thisiterative recognition process.

3.2. Short Phrase Searching

Because the selective power of a search query based on a few words isgreatly enhanced when the relative positions of these words are known,only a small amount of text need be captured for the system to identifythe text's location in a corpus. Most commonly, the input text will be acontiguous sequence of words, such as a short phrase.

3.2.1. Finding Document and Location in Document from Short Capture

In addition to locating the document from which a phrase originates, thesystem can identify the location in that document and can lake actionbased on this knowledge.

3.2.2. Other Methods of Finding Location

The system may also employ other methods of discovering the document andlocation, such as by using watermarks or other special markings on therendered document.

3.3. Incorporation of Other Factors in Search Query

In addition to the captured text, other factors (i.e., information aboutuser identity, profile, and context) may form part of the search query,such as the time of the capture, the identity and geographical locationof the user, knowledge of the user's habits and recent activities, etc.

The document identity and other information related to previouscaptures, especially if they were quite recent, may form part of asearch query.

The identity of the user may be determined from a unique identifierassociated with a capturing device, and/or biometric or othersupplemental information (speech patterns, fingerprints, etc.).

3.4. Knowledge of Nature of Unreliability in Search Query (OCR Errorsetc)

The search query can be constructed taking into account the types oferrors likely to occur in the particular capture method used. Oneexample of this is an indication of suspected errors in the recognitionof specific characters; in this instance a search engine may treat thesecharacters as wildcards, or assign them a lower priority.

3.5. Local Caching of Index for Performance/offline Use

Sometimes the capturing device may not be in communication with thesearch engine or corpus at the time of the data capture. For thisreason, information helpful to the offline use of the device may bedownloaded to the device in advance, or to some entity with which thedevice can communicate. In some cases, all or a substantial part of anindex associated with a corpus may be downloaded. This topic isdiscussed further in Section 15.3.

3.6. Queries, in Whatever Form, may be Recorded and Acted on Later

If there are likely to be delays or cost associated with communicating aquery or receiving the results, this pre-loaded information can improvethe performance of the local device, reduce communication costs, andprovide helpful and timely user feedback.

In the situation where no communication is available (the local deviceis “offline”), the queries may be saved and transmitted to the rest ofthe system at such a time as communication is restored.

In these cases it may be important to transmit a timestamp with eachquery. The time of the capture can be a significant factor in theinterpretation of the query. For example, Section 13.1 discusses theimportance of the time of capture in relation to earlier captures. It isimportant to note that the time of capture will not always be the sameas the time that the query is executed.

3.7. Parallel Searching

For performance reasons, multiple queries may be launched in response toa single capture, either in sequence or in parallel. Several queries maybe sent in response to a single capture, for example as new words areadded to the capture, or to query multiple search engines in parallel.

For example, in some embodiments, the system sends queries to a specialindex for the current document, to a search engine on a local machine,to a search engine on the corporate network, and to remote searchengines on the Internet.

The results of particular searches may be given higher priority thanthose from others.

The response to a given query may indicate that other pending queriesare superfluous; these may be cancelled before completion.

4. Paper and Search Engines

Often it is desirable for a search engine that handles traditionalonline queries also to handle those originating from rendered documents.Conventional search engines may be enhanced or modified in a number ofways to make them more suitable for use with the described system.

The search engine and/or other components of the system may create andmaintain indices that have different or extra features. The system maymodify an incoming paper-originated query or change the way the query ishandled in the resulting search, thus distinguishing thesepaper-originated queries from those coming from queries typed into webbrowsers and other sources. And the system may take different actions oroffer different options when the results are returned by the searchesoriginated from paper as compared to those from other sources. Each ofthese approaches is discussed below.

4.1. Indexing

Often, the same index can be searched using either paper-originated ortraditional queries, but the index may be enhanced for use in thecurrent system in a variety of ways.

4.1.1. Knowledge about the Paper Form

Extra fields can be added to such an index that will help in the case ofa paper-based search.

Index Entry Indicating Document Availability in Paper Form

The first example is a field indicating that the document is known toexist or be distributed in paper form. The system may give suchdocuments higher priority if the query comes from paper.

Knowledge of Popularity Paper Form

In this example statistical data concerning the popularity of paperdocuments (and, optionally, concerning sub-regions within thesedocuments)—for example the amount of scanning activity, circulationnumbers provided by the publisher or other sources, etc—is used to givesuch documents higher priority, to boost the priority of digitalcounterpart documents (for example, for browser-based queries or websearches), etc.

Knowledge of Rendered Format

Another important example may be recording information about the layoutof a specific rendering of a document.

For a particular edition of a book, for example, the index may includeinformation about where the line breaks and page breaks occur, whichfonts were used, any unusual capitalization.

The index may also include information about the proximity of otheritems on the page, such as images, text boxes, tables andadvertisements.

Use of Semantic Information in Original

Lastly, semantic information that can be deduced from the source markupbut is not apparent in the paper document, such as the fact that aparticular piece of text refers to an item offered for sale, or that acertain paragraph contains program code, may also be recorded in theindex.

4.1.2. Indexing in the Knowledge of the Capture Method

A second factor that may modify the nature of the index is the knowledgeof the type of capture likely to be used. A search initiated by anoptical scan may benefit if the index takes into account characters thatare easily confused in the OCR process, or includes some knowledge ofthe fonts used in the document. Similarly, if the query is from speechrecognition, an index based on similar-sounding phonemes may be muchmore efficiently searched. An additional factor that may affect the useof the index in the described model is the importance of iterativefeedback during the recognition process. If the search engine is able toprovide feedback from the index as the text is being captured, it cangreatly increase the accuracy of the capture.

Indexing Using Offsets

If the index is likely to be searched using theoffset-based/autocorrelation OCR methods described in Section 9, in someembodiments, the system stores the appropriate offset or signatureinformation in an index.

4.1.3. Multiple Indices

Lastly, in the described system, it may be common to conduct searches onmany indices. Indices may be maintained on several machines on acorporate network. Partial indices may be downloaded to the capturedevice, or to a machine close to the capture device. Separate indicesmay be created for users or groups of users with particular interests,habits or permissions. An index may exist for each filesystem, eachdirectory, even each file on a user's hard disk. Indexes are publishedand subscribed to by users and by systems. It will be important, then,to construct indices that can be distributed, updated, merged andseparated efficiently.

4.2. Handling the Queries

4.2.1. Knowing the Capture is from Paper

A search engine may take different actions when it recognizes that asearch query originated from a paper document. The engine might handlethe query in a way that is more tolerant to the types of errors likelyto appear in certain capture methods, for example.

It may be able to deduce this from some indicator included in the query(for example a flag indicating the nature of the capture), or it maydeduce this from the query itself (for example, it may recognize errorsor uncertainties typical of the OCR process).

Alternatively, queries from a capture device can reach the engine by adifferent channel or port or type of connection than those from othersources, and can be distinguished in that way. For example, someembodiments of the system will route queries to the search engine by wayof a dedicated gateway. Thus, the search engine knows that all queriespassing through the dedicated gateway were originated from a paperdocument.

4.2.2. Use of Context

Section 13 below describes a variety of different factors which areexternal to the captured text itself, yet which can be a significant aidin identifying a document. These include such things as the history ofrecent scans, the longer-term reading habits of a particular user, thegeographic location of a user and the user's recent use of particularelectronic documents. Such factors are referred to herein as “context.”

Some of the context may be handled by the search engine itself, and bereflected in the search results. For example, the search engine may keeptrack of a user's scanning history, and may also cross-reference thisscanning history to conventional keyboard-based queries. In such cases,the search engine maintains and uses more state information about eachindividual user than do most conventional search engines, and eachinteraction with a search engine may be considered to extend overseveral searches and a longer period of time than is typical today.

Some of the context may be transmitted to the search engine in thesearch query (Section 3.3), and may possibly be stored at the engine soas to play a part in future queries. Lastly, some of the context willbest be handled elsewhere, and so becomes a filter or secondary searchapplied to the results from the search engine.

Data-stream Input to Search

An important input into the search process is the broader context of howthe community of users is interacting with the rendered version of thedocument—for example, which documents are most widely read and by whom.There are analogies with a web search returning the pages that are mostfrequently linked to, or those that are most frequently selected frompast search results. For further discussion of this topic, see Sections13.4 and 14.2.

4.2.3. Document Sub-regions

The described system can emit and use not only information aboutdocuments as a whole, but also information about sub-regions ofdocuments, even down to individual words. Many existing search enginesconcentrate simply on locating a document or file that is relevant to aparticular query. Those that can work on a finer grain and identify alocation within a document will provide a significant benefit for thedescribed system.

4.3. Returning the Results

The search engine may use some of the further information it nowmaintains to affect the results returned.

The system may also return certain documents to which the user hasaccess only as a result of being in possession of the paper copy(Section 7.4).

The search engine may also offer new actions or options appropriate tothe described system, beyond simple retrieval of the text.

5. Markup, Annotations and Metadata

In addition to performing the capture-search-retrieve process, thedescribed system also associates extra functionality with a document,and in particular with specific locations or segments of text within adocument. This extra functionality is often, though not exclusively,associated with the rendered document by being associated with itselectronic counterpart. As an example, hyperlinks in a web page couldhave the same functionality when a printout of that web page is scanned.In some cases, the functionality is not defined in the electronicdocument, but is stored or generated elsewhere.

This layer of added functionality is referred to herein as “markup.”

5.1. Overlays, Static and Dynamic

One way to think of the markup is as an “overlay” on the document, whichprovides further information about—and may specify actions associatedwith—the document or some portion of it. The markup may includehuman-readable content, but is often invisible to a user and/or intendedfor machine use. Examples include options to be displayed in apopup-menu on a nearby display when a user captures text from aparticular area in a rendered document, or audio samples that illustratethe pronunciation of a particular phrase.

5.1.1. Several Layers, Possibly from Several Sources

Any document may have multiple overlays simultaneously, and these may besourced from a variety of locations. Markup data may be created orsupplied by the author of the document, or by the user, or by some otherparty.

Markup data may be attached to the electronic document or embedded init. It may be found in a conventional location (for example, in the sameplace as the document but with a different filename suffix). Markup datamay be included in the search results of the query that located theoriginal document, or may be found by a separate query to the same oranother search engine. Markup data may be found using the originalcaptured text and other capture information or contextual information,or it may be found using already-deduced information about the documentand location of the capture. Markup data may be found in a locationspecified in the document, even if the markup itself is not included inthe document.

The markup may be largely static and specific to the document, similarto the way links on a traditional html web page are often embedded asstatic data within the html document, but markup may also be dynamicallygenerated and/dr applied to a large number of documents. An example ofdynamic markup is information attached to a document that includes theup-to-date share price of companies mentioned in that document. Anexample of broadly applied markup is translation information that isautomatically available on multiple documents or sections of documentsin a particular language.

5.1.2. Personal “Plug-in” Layers

Users may also install, or subscribe to particular sources of, markupdata, thus personalizing the system's response to particular captures.

5.2. Keywords and Phrases, Trademarks and Logos

Some elements in documents may have particular “markup” or functionalityassociated with them based on their own characteristics rather thantheir location in a particular document. Examples include special marksthat are printed in the document purely for the purpose of beingscanned, as well as logos and trademarks that can link the user tofurther information about the organization concerned. The same appliesto “keywords” or “key phrases” in the text. Organizations might registerparticular phrases with which they are associated, or with which theywould like to be associated, and attach certain markup to them thatwould be available wherever that phrase was scanned.

Any word, phrase, etc. may have associated markup. For example, thesystem may add certain items to a pop-up menu (e.g., a link to an onlinebookstore) whenever the user captures the word “book,” or the title of abook, or a topic related to books. In some embodiments, of the system,digital counterpart documents or indices are consulted to determinewhether a capture occurred near the word “book,” or the title of a book,or a topic related to books—and the system behavior is modified inaccordance with this proximity to keyword elements. In the precedingexample, note that markup enables data captured from non-commercial textor documents to trigger a commercial transaction.

5.3. User-supplied Content

5.3.1. User Comments and Annotations, Including Multimedia

Annotations are another type of electronic information that may beassociated with a document. For example, a user can attach an audio fileof his/her thoughts about a particular document for later retrieval asvoice annotations. As another example of a multimedia annotation, a usermay attach photographs of places referred to in the document. The usergenerally supplies annotations for the document but the system canassociate annotations from other sources (for example, other users in awork group may share annotations).

5.3.2. Notes from Proof-reading

An important example of user-sourced markup is the annotation of paperdocuments as part of a proofreading, editing or reviewing process.

5.4. Third-party Content

As mentioned earlier, markup data may often be supplied by thirdparties, such as by other readers of the document. Online discussionsand reviews are a good example, as are community-managed informationrelating to particular works, volunteer-contributed translations andexplanations.

Another example of third-party markup is that provided by advertisers.

5.5. Dynamic markup based on other users' data streams

By analyzing the data captured from documents by several or all users ofthe system, markup can be generated based on the activities andinterests of a community. An example might be an online bookstore thatcreates markup or annotations that tell the user, in effect, “People whoenjoyed this book also enjoyed . . . . ” The markup may be lessanonymous, and may tell the user which of the people in his/her contactlist have also read this document recently. Other examples of datastreamanalysis are included in Section 14.

5.6. Markup Based on External Events and Data Sources

Markup will often be based on external events and data sources, such asinput from a corporate database, information from the public Internet,or statistics gathered by the local operating system.

Data sources may also be more local, and in particular may provideinformation about the user's context—his/her identity, location andactivities. For example, the system might communicate with the user'smobile phone and offer a markup layer that gives the user the option tosend a document to somebody that the user has recently spoken to on thephone.

6. Authentication, Personalization and Security

In many situations, the identity of the user will be known. Sometimesthis will be an “anonymous identity,” where the user is identified onlyby the serial number of the capture device, for example. Typically,however, it is expected that the system will have a much more detailedknowledge of the user, which can be used for personalizing the systemand to allow activities and transactions to be performed in the user'sname.

6.1. User History and “Life Library”

One of the simplest and yet most useful functions that the system canperform is to keep a record for a user of the text that s/he hascaptured and any further information related to that capture, includingthe details of any documents found, the location within that documentand any actions taken as a result.

This stored history is beneficial for both the user and the system.

6.1.1. For the User

The user can be presented with a “Life Library,” a record of everythings/he has read and captured. This may be simply for personal interest,but may be used, for example, in a library by an academic who isgathering material for the bibliography of his next paper.

In some circumstances, the user may wish to make the library public,such as by publishing it on the web in a similar manner to a weblog, sothat others may see what s/he is reading and finds of interest.

Lastly, in situations where the user captures some text and the systemcannot immediately act upon the capture (for example, because anelectronic version of the document is not yet available) the capture canbe stored in the library and can be processed later, eitherautomatically or in response to a user request. A user can alsosubscribe to new markup services and apply them to previously capturedscans.

6.1.2. For the System

A record of a user's past captures is also useful for the system. Manyaspects of the system operation can be enhanced by knowing the user'sreading habits and history. The simplest example is that any scan madeby a user is more likely to come from a document that the user hasscanned in the recent past, and in particular if the previous scan waswithin the last few minutes it is very likely to be from the samedocument. Similarly, it is more likely that a document is being read instart-to-finish order. Thus, for English documents, it is also morelikely that later scans will occur farther down in the document. Suchfactors can help the system establish the location of the capture incases of ambiguity, and can also reduce the amount of text that needs tobe captured.

6.2. Scanner as Payment, Identity and Authentication Device

Because the capture process generally begins with a device of some sort,typically an optical scanner or voice recorder, this device may be usedas a key that identifies the user and authorizes certain actions.

6.2.1. Associate Scanner with Phone or Other Account

The device may be embedded in a mobile phone or in some other wayassociated with a mobile phone account. For example, a scanner may beassociated with a mobile phone account by inserting a SIM cardassociated with the account into the scanner. Similarly, the device maybe embedded in a credit card or other payment card, or have the systemfor such a card to be connected to it. The device may therefore be usedas a payment token, and financial transactions may be initiated by thecapture from the rendered document.

6.2.2. Using Scanner Input for Authentication

The scanner may also be associated with a particular user or accountthrough the process of scanning some token, symbol or text associatedwith that user or account. In addition, scanner may be used forbiometric identification, for example by scanning the fingerprint of theuser. In the case of an audio-based capture device, the system mayidentify the user by matching the voice pattern of the user or byrequiring the user to speak a certain password or phrase.

For example, where a user scans a quote from a book and is offered theoption to buy the book from an online retailer, the user can select thisoption, and is then prompted to scan his/her fingerprint to confirm thetransaction.

See also Sections 15.5 and 15.6.

6.2.3. Secure Scanning Device

When the capture device is used to identify and authenticate the user,and to initiate transactions on behalf of the user, it is important thatcommunications between the device and other parts of the system aresecure. It is also important to guard against such situations as anotherdevice impersonating a scanner, and so-called “man in the middle”attacks where communications between the device and other components areintercepted.

Techniques for providing such security are well understood in the art;in various embodiments, the hardware and software in the device andelsewhere in the system are configured to implement such techniques.

7. Publishing Models and Elements

An advantage of the described system is that there is no need to alterthe traditional processes of creating, printing or publishing documentsin order to gain many of the system's benefits. There are reasons,though, that the creators or publishers of a document—hereafter simplyreferred to as the “publishers”—may wish to create functionality tosupport the described system.

This section is primarily concerned with the published documentsthemselves. For information about other related commercial transactions,such as advertising, see Section 10 entitled “P-Commerce.”

7.1. Electronic Companions to Printed Documents

The system allows for printed documents to have an associated electronicpresence. Conventionally publishers often ship a CD-ROM with a book thatcontains further digital information, tutorial movies and othermultimedia data, sample code or documents, or further referencematerials. In addition, some publishers maintain web sites associatedwith particular publications which provide such materials, as well asinformation which may be updated after the time of publishing, such aserrata, further comments, updated reference materials, bibliographiesand further sources of relevant data, and translations into otherlanguages. Online forums allow readers to contribute their commentsabout the publication.

The described system allows such materials to be much more closely tiedto the rendered document than ever before, and allows the discovery ofand interaction with them to be much easier for the user. By capturing aportion of text from the document, the system can automatically connectthe user to digital materials associated with the document, and moreparticularly associated with that specific part of the document.Similarly, the user can be connected to online communities that discussthat section of the text, or to annotations and commentaries by otherreaders. In the past, such information would typically need to be foundby searching for a particular page number or chapter.

An example application of this is in the area of academic textbooks(Section 17.5).

7.2. “Subscriptions” to Printed Documents

Some publishers may have mailing lists to which readers can subscribe ifthey wish to be notified of new relevant matter or when a new edition ofthe book is published. With the described system, the user can registeran interest in particular documents or parts of documents more easily,in some cases even before the publisher has considered providing anysuch functionality. The reader's interest can be fed to the publisher,possibly affecting their decision about when and where to provideupdates, further information, new editions or even completely newpublications on topics that have proved to be of interest in existingbooks.

7.3. Printed Marks with Special Meaning or Containing Special Data

Many aspects of the system are enabled simply through the use of thetext already existing in a document. If the document is produced in theknowledge that it may be used in conjunction with the system, however,extra functionality can be added by printing extra information in theform of special marks, which may be used to identify the text or arequired action more closely, or otherwise enhance the document'sinteraction with the system. The simplest and most important example isan indication to the reader that the document is definitely accessiblethrough the system. A special icon might be used, for example, toindicate that this document has an online discussion forum associatedwith it.

Such symbols may be intended purely for the reader, or they may berecognized by the system when scanned and used to initiate some action.Sufficient data may be encoded in the symbol to identify more than justthe symbol: it may also store information, for example about thedocument, edition, and location of the symbol, which could be recognizedand read by the system.

7.4. Authorization Through Possession of the Paper Document

There are some situations where possession of or access to the printeddocument would entitle the user to certain privileges, for example, theaccess to an electronic copy of the document or to additional materials.With the described system, such privileges could be granted simply as aresult of the user capturing portions of text from the document, orscanning specially printed symbols. In cases where the system needed toensure that the user was in possession of the entire document, it mightprompt the user to scan particular items or phrases from particularpages, e.g. “the second line of page 46.”

7.5. Documents which Expire

If the printed document is a gateway to extra materials andfunctionality, access to such features can also be time-limited. Afterthe expiry date, a user may be required to pay a fee or obtain a newerversion of the document to access the features again. The paper documentwill, of course, still be usable, but will lose some of its enhancedelectronic functionality. This may be desirable, for example, becausethere is profit for the publisher in receiving fees for access toelectronic materials, or in requiring the user to purchase new editionsfrom time to time, or because there are disadvantages associated withoutdated versions of the printed document remaining in circulation.Coupons are an example of a type of commercial document that can have anexpiration date.

7.6. Popularity Analysis and Publishing Decisions

Section 10.5 discusses the use of the system's statistics to influencecompensation of authors and pricing of advertisements.

In some embodiments, the system deduces the popularity of a publicationfrom the activity in the electronic community associated with it as wellas from the use of the paper document. These factors may help publishersto make decisions about what they will publish in future. If a chapterin an existing book, for example, turns out to be exceedingly popular,it may be worth expanding into a separate publication.

8. Document Access Services

An important aspect of the described system is the ability to provide toa user who has access to a rendered copy of a document access to anelectronic version of that document. In some cases, a document is freelyavailable on a public network or a private network to which the user hasaccess. The system uses the captured text to identify, locate andretrieve the document, in some cases displaying it on the user's screenor depositing it in their email inbox.

In some cases, a document will be available in electronic form, but fora variety of reasons may not be accessible to the user. There may not besufficient connectivity to retrieve the document, the user may not beentitled to retrieve it, there may be a cost associated with gainingaccess to it, or the document may have been withdrawn and possiblyreplaced by a new version, to name just a few possibilities. The systemtypically provides feedback to the user about these situations.

As mentioned in Section 7.4, the degree or nature of the access grantedto a particular user may be different if it is known that the useralready has access to a printed copy of the document.

8.1. Authenticated Document Access

Access to the document may be restricted to specific users, or to thosemeeting particular criteria, or may only be available in certaincircumstances, for example when the user is connected to a securenetwork. Section 6 describes some of the ways in which the credentialsof a user and scanner may be established.

8.2. Document Purchase—Copyright-Owner Compensation

Documents that are not freely available to the general public may stillbe accessible on payment of a fee, often as compensation to thepublisher or copyright-holder. The system may implement paymentfacilities directly or may make use of other payment methods associatedwith the user, including those described in Section 6.2.

8.3. Document Escrow and Proactive Retrieval

Electronic documents are often transient; the digital source version ofa rendered document may be available now but inaccessible in future. Thesystem may retrieve and store the existing version on behalf of theuser, even if the user has not requested it, thus guaranteeing itsavailability should the user request it in future. This also makes itavailable for the system's use, for example for searching as part of theprocess of identifying future captures.

In the event that payment is required for access to the document, atrusted “document escrow” service can retrieve the document on behalf ofthe user, such as upon payment of a modest fee, with the assurance thatthe copyright holder will be fully compensated in future if the usershould ever request the document from the service.

Variations on this theme can be implemented if the document is notavailable in electronic form at the time of capture. The user canauthorize the service to submit a request for or make a payment for thedocument on his/her behalf if the electronic document should becomeavailable at a later date.

8.4. Association with Other Subscriptions and Accounts

Sometimes payment may be waived, reduced or satisfied based on theuser's existing association with another account or subscription.Subscribers to the printed version of a newspaper might automatically beentitled to retrieve the electronic version, for example.

In other cases, the association may not be quite so direct: a user maybe granted access based on an account established by their employer, orbased on their scanning of a printed copy owned by a friend who is asubscriber.

8.5. Replacing Photocopying with Scan-and-Print

The process of capturing text from a paper document, identifying anelectronic original, and printing that original, or some portion of thatoriginal associated with the capture, forms an alternative totraditional photocopying with many advantages:

-   -   the paper document need not be in the same location as the final        printout, and in any case need not be there at the same time    -   the wear and damage caused to documents by the photocopying        process, especially to old, fragile and valuable documents, can        be avoided    -   the quality of the copy is typically be much higher    -   records may be kept about which documents or portions of        documents are the most frequently copied    -   payment may be made to the copyright owner as part of the        process    -   unauthorized copying may be prohibited

8.6. Locating Valuable Originals from Photocopies

When documents are particularly valuable, as in the case of legalinstruments or documents that have historical or other particularsignificance, people may typically work from copies of those documents,often for many years, while the originals are kept in a safe location.

The described system could be coupled to a database which records thelocation of an original document, for example in an archiving warehouse,making it easy for somebody with access to a copy to locate the archivedoriginal paper document.

9. Text Recognition Technologies

Optical Character Recognition (OCR) technologies have traditionallyfocused on images that include a large amount of text, for example froma flat-bed scanner capturing a whole page. OCR technologies often needsubstantial training and correcting by the user to produce useful text.OCR technologies often require substantial processing power on themachine doing the OCR, and, while many systems use a dictionary, theyare generally expected to operate on an effectively infinite vocabulary.

All of the above traditional characteristics may be improved upon in thedescribed system.

While this section focuses on OCR, many of the issues discussed mapdirectly onto other recognition technologies, in particular speechrecognition. As mentioned in Section 3.1, the process of capturing frompaper may be achieved by a user reading the text aloud into a devicewhich captures audio. Those skilled in the art will appreciate thatprinciples discussed here with respect to images, fonts, and textfragments often also apply to audio samples, user speech models andphonemes.

9.1. Optimization for Appropriate Devices

A scanning device for use with the described system will often be small,portable, and low power. The scanning device may capture only a fewwords at a time, and in some implementations does not even capture awhole character at once, but rather a horizontal slice through the text,many such slices being stitched together to form a recognizable signalfrom which the text may be deduced. The scanning device may also havevery limited processing power or storage so, while in some embodimentsit may perform all of the OCR process itself, many embodiments willdepend on a connection to a more powerful device, possibly at a latertime, to convert the captured signals into text. Lastly, it may havevery limited facilities for user interaction, so may need to defer anyrequests for user input until later, or operate in a “best-guess” modeto a greater degree than is common now.

9.2. “Uncertain” OCR

The primary new characteristic of OCR within the described system is thefact that it will, in general, examine images of text which existselsewhere and which may be retrieved in digital form. An exacttranscription of the text is therefore not always required from the OCRengine. The OCR system may output a set or a matrix of possible matches,in some cases including probability weightings, which can still be usedto search for the digital original.

9.3. Iterative OCR—Guess, Disambiguate, Guess . . .

If the device performing the recognition is able to contact the documentindex at the time of processing, then the OCR process can be informed bythe contents of the document corpus as it progresses, potentiallyoffering substantially greater recognition accuracy.

Such a connection will also allow the device to inform the user whensufficient text has been captured to identify the digital source.

9.4. Using Knowledge of Likely Rendering

When the system has knowledge of aspects of the likely printed renderingof a document—such as the font typeface used in printing, or the layoutof the page, or which sections are in italics—this too can help in therecognition process. (Section 4.1.1)

9.5. Font caching—determine font on host, download to client Ascandidate source texts in the document corpus are identified, the font,or a rendering of it, may be downloaded to the device to help with therecognition.

9.6. Autocorrelation and Character Offsets

While component characters of a text fragment may be the most recognizedway to represent a fragment of text that may be used as a documentsignature, other representations of the text may work sufficiently wellthat the actual text of a text fragment need not be used when attemptingto locate the text fragment in a digital document and/or database, orwhen disambiguating the representation of a text fragment into areadable form. Other representations of text fragments may providebenefits that actual text representations lack. For example, opticalcharacter recognition of text fragments is often prone to errors, unlikeother representations of captured text fragments that may be used tosearch for and/or recreate a text fragment without resorting to opticalcharacter recognition for the entire fragment. Such methods may be moreappropriate for some devices used with the current system.

Those of ordinary skill in the art and others will appreciate that thereare many ways of describing the appearance of text fragments. Suchcharacterizations of text fragments may include, but are not limited to,word lengths, relative word lengths, character heights, characterwidths, character shapes, character frequencies, token frequencies, andthe like. In some embodiments, the offsets between matching text tokens(i.e., the number of intervening tokens plus one) are used tocharacterize fragments of text.

Conventional OCR uses knowledge about fonts, letter structure and shapeto attempt to determine characters in scanned text. Embodiments of thepresent invention are different; they employ a variety of methods thatuse the rendered text itself to assist in the recognition process. Theseembodiments use characters (or tokens) to “recognize each other.” Oneway to refer to such self-recognition is “template matching,” and issimilar to “convolution.” To perform such self-recognition, the systemslides a copy of the text horizontally over itself and notes matchingregions of the text images. Prior template matching and convolutiontechniques encompass a variety of related techniques. These techniquesto tokenize and/or recognize characters/tokens will be collectivelyreferred to herein as “autocorrelation,” as the text is used tocorrelate with its own component parts when matching characters/tokens.

When autocorrelating, complete connected regions that match are ofinterest. This occurs when characters (or groups of characters) overlayother instances of the same character (or group). Complete connectedregions that match automatically provide tokenizing of the text intocomponent tokens. As the two copies of the text are slid past eachother, the regions where perfect matching occurs (i.e., all pixels in avertical slice are matched) are noted. When a character/token matchesitself, the horizontal extent of this matching (e.g., the connectedmatching portion of the text) also matches.

Note that at this stage there is no need to determine the actualidentity of each token (i.e., the particular letter, digit or symbol, orgroup of these, that corresponds to the token image), only the offset tothe next occurrence of the same token in the scanned text. The offsetnumber is the distance (number of tokens) to the next occurrence of thesame token. If the token is unique within the text string, the offset iszero (0). The sequence of token offsets thus generated is a signaturethat can be used to identify the scanned text.

In some embodiments, the token offsets determined for a string ofscanned tokens are compared to an index that indexes a corpus ofelectronic documents based upon the token offsets of their contents(Section 4.1.2). In other embodiments, the token offsets determined fora string of scanned tokens are converted to text, and compared to a moreconventional index that indexes a corpus of electronic documents basedupon their contents

As has been noted earlier, a similar token-correlation process may beapplied to speech fragments when the capture process consists of audiosamples of spoken words.

9.7. Font/Character “Self-Recognition”

Conventional template-matching OCR compares scanned images to a libraryof character images. In essence, the alphabet is stored for each fontand newly scanned images are compared to the stored images to findmatching characters. The process generally has an initial delay untilthe correct font has been identified. After that, the OCR process isrelatively quick because most documents use the same font throughout.Subsequent images can therefore be converted to text by comparison withthe most recently identified font library.

The shapes of characters in most commonly used fonts are related. Forexample, in most fonts, the letter “c” and the letter “e” are visuallyrelated—as are “t” and “f,” etc. The OCR process is enhanced by use ofthis relationship to construct templates for letters that have not beenscanned yet. For example, where a reader scans a short string of textfrom a paper document in a previously unencountered font such that thesystem does not have a set of image templates with which to compare thescanned images the system can leverage the probable relationship betweencertain characters to construct the font template library even though ithas not yet encountered all of the letters in the alphabet. The systemcan then use the constructed font template library to recognizesubsequent scanned text and to further refine the constructed fontlibrary.

9.8. Send Anything Unrecognized (Including Graphics) to Server

When images cannot be machine-transcribed into a form suitable for usein a search process, the images themselves can be saved for later use bythe user, for possible manual transcription, or for processing at alater date when different resources may be available to the system.

10. P-Commerce

Many of the actions made possible by the system result in somecommercial transaction taking place. The phrase p-commerce is usedherein to describe commercial activities initiated from paper via thesystem.

10.1. Sales of Documents from their Physical Printed Copies.

When a user captures text from a document, the user may be offered thatdocument for purchase either in paper or electronic form. The user mayalso be offered related documents, such as those quoted or otherwisereferred to in the paper document, or those on a similar subject, orthose by the same author.

10.2. Sales of Anything Else Initiated or Aided by Paper

The capture of text may be linked to other commercial activities in avariety of ways. The captured text may be in a catalog that isexplicitly designed to sell items, in which case the text will beassociated fairly directly with the purchase of an item (Section 18.2).The text may also be part of an advertisement, in which case a sale ofthe item being advertised may ensue.

In other cases, the user captures other text from which their potentialinterest in a commercial transaction may be deduced. A reader of a novelset in a particular country, for example, might be interested in aholiday there. Someone reading a review of a new car might beconsidering purchasing it. The user may capture a particular fragment oftext knowing that some commercial opportunity will be presented to themas a result, or it may be a side-effect of their capture activities.

10.3. Capture of Labels, Icons, Serial Numbers, Barcodes on an ItemResulting in a Sale

Sometimes text or symbols are actually printed on an item or itspackaging. An example is the serial number or product id often found ona label on the back or underside of a piece of electronic equipment. Thesystem can offer the user a convenient way to purchase one or more ofthe same items by capturing that text. They may also be offered manuals,support or repair services.

10.4. Contextual Advertisements

In addition to the direct capture of text from an advertisement, thesystem allows for a new kind of advertising which is not necessarilyexplicitly in the rendered document, but is nonetheless based on whatpeople are reading.

10.4.1. Advertising Based on Scan Context and History

In a traditional paper publication, advertisements generally consume alarge amount of space relative to the text of a newspaper article, and alimited number of them can be placed around a particular article. In thedescribed system, advertising can be associated with individual words orphrases, and can selected according to the particular interest the userhas shown by capturing that text and possibly taking into account theirhistory of past scans.

With the described system, it is possible for a purchase to be tied to aparticular printed document and for an advertiser to get significantlymore feedback about the effectiveness of their advertising in particularprint publications.

10.4.2. Advertising Based on User Context and History

The system may gather a large amount of information about other aspectsof a user's context for its own use (Section 13); estimates of thegeographical location of the user are a good example. Such data can alsobe used to tailor the advertising presented to a user of the system.

10.5. Models of Compensation

The system enables some new models of compensation for advertisers andmarketers. The publisher of a printed document containing advertisementsmay receive some income from a purchase that originated from theirdocument. This may be true whether or not the advertisement existed inthe original printed form; it may have been added electronically eitherby the publisher, the advertiser or some third party, and the sources ofsuch advertising may have been subscribed to by the user.

10.5.1. Popularity-Based Compensation

Analysis of the statistics generated by the system can reveal thepopularity of certain parts of a publication (Section 14.2). In anewspaper, for example, it might reveal the amount of time readers spendlooking at a particular page or article, or the popularity of aparticular columnist. In some circumstances, it may be appropriate foran author or publisher to receive compensation based on the activitiesof the readers rather than on more traditional metrics such as wordswritten or number of copies distributed. An author whose work becomes afrequently read authority on a subject might be considered differentlyin future contracts from one whose books have sold the same number ofcopies but are rarely opened. (See also Section 7.6)

10.5.2. Popularity-Based Advertising

Decisions about advertising in a document may also be based onstatistics about the readership. The advertising space around the mostpopular columnists may be sold at a premium rate. Advertisers might evenbe charged or compensated some time after the document is publishedbased on knowledge about how it was received.

10.6. Marketing Based on Life Library

The “Life Library” or scan history described in Sections 6.1 and 16.1can be an extremely valuable source of information about the interestsand habits of a user. Subject to the appropriate consent and privacyissues, such data can inform offers of goods or services to the user.Even in an anonymous form, the statistics gathered can be exceedinglyuseful.

10.7. Sale/Information at Later Date (when Available)

Advertising and other opportunities for commercial transactions may notbe presented to the user immediately at the time of text capture. Forexample, the opportunity to purchase a sequel to a novel may not beavailable at the time the user is reading the novel, but the system maypresent them with that opportunity when the sequel is published.

A user may capture data that relates to a purchase or other commercialtransaction, but may choose not to initiate and/or complete thetransaction at the time the capture is made. In some embodiments, datarelated to captures is stored in a user's Life Library, and these LifeLibrary entries can remain “active” (i.e., capable of subsequentinteractions similar to those available at the time the capture wasmade). Thus a user may review a capture at some later time, andoptionally complete a transaction based on that capture. Because thesystem can keep track of when and where the original capture occurred,all parties involved in the transaction can be properly compensated. Forexample, the author who wrote the story—and the publisher who publishedthe story—that appeared next to the advertisement from which the usercaptured data can be compensated when, six months later, the user visitstheir Life Library, selects that particular capture from the history,and chooses “Purchase this item at Amazon” from the pop-up menu (whichcan be similar or identical to the menu optionally presented at the timeof the capture).

11. Operating System and Application Integration

Modern Operating Systems (OSs) and other software packages have manycharacteristics that can be advantageously exploited for use with thedescribed system, and may also be modified in various ways to provide aneven better platform for its use.

11.1. Incorporation of Scan and Print-Related Information in Metadataand Indexing

New and upcoming file systems and their associated databases often havethe ability to store a variety of metadata associated with each file.Traditionally, this metadata has included such things as the ID of theuser who created the file, the dates of creation, last modification, andlast use. Newer file systems allow such extra information as keywords,image characteristics, document sources and user comments to be stored,and in some systems this metadata can be arbitrarily extended. Filesystems can therefore be used to store information that would be usefulin implementing the current system. For example, the date when a givendocument was last printed can be stored by the file system, as candetails about which text from it has been captured from paper using thedescribed system, and when and by whom.

Operating systems are also starting to incorporate search enginefacilities that allow users to find local files more easily. Thesefacilities can be advantageously used by the system. It means that manyof the search-related concepts discussed in Sections 3 and 4 apply notjust to today's Internet-based and similar search engines, but also toevery personal computer.

In some cases specific software applications will also include supportfor the system above and beyond the facilities provided by the OS.

11.2. OS Support for Capture Devices

As the use of capture devices such as pen scanners becomes increasinglycommon, it will become desirable to build support for them into theoperating system, in much the same way as support is provided for miceand printers, since the applicability of capture devices extends beyonda single software application. The same will be true for other aspectsof the system's operation. Some examples are discussed below. In someembodiments, the entire described system, or the core of it, is providedby the OS. In some embodiments, support for the system is provided byApplication Programming Interfaces (APIs) that can be used by othersoftware packages, including those directly implementing aspects of thesystem.

11.2.1. Support For OCR and Other Recognition Technologies

Most of the methods of capturing text from a rendered document requiresome recognition software to interpret the source data, typically ascanned image or some spoken words, as text suitable for use in thesystem. Some OSs include support for speech or handwriting recognition,though it is less common for OSs to include support for OCR, since inthe past the use of OCR has typically been limited to a small range ofapplications.

As recognition components become part of the OS, they can take betteradvantage of other facilities provided by the OS. Many systems includespelling dictionaries, grammar analysis tools, internationalization andlocalization facilities, for example, all of which can be advantageouslyemployed by the described system for its recognition process, especiallysince they may have been customized for the particular user to includewords and phrases that he/she would commonly encounter.

If the operating system includes full-text indexing facilities, thenthese can also be used to inform the recognition process, as describedin Section 9.3.

11.2.2. Action to be Taken on Scans

If an optical scan or other capture occurs and is presented to the OS,it may have a default action to be taken under those circumstances inthe event that no other subsystem claims ownership of the capture. Anexample of a default action is presenting the user with a choice ofalternatives, or submitting the captured text to the OS's built-insearch facilities.

11.2.3. OS has Default Action for Particular Documents or Document Types

If the digital source of the rendered document is found, the OS may havea standard action that it will take when that particular document, or adocument of that class, is scanned. Applications and other subsystemsmay register with the OS as potential handlers of particular types ofcapture, in a similar manner to the announcement by applications oftheir ability to handle certain file types.

Markup data associated with a rendered document, or with a capture froma document, can include instructions to the operating system to launchspecific applications, pass applications arguments, parameters, or data,etc.

11.2.4. Interpretation of Gestures and Mapping into Standard Actions

In Section 12.1.3 the use of “gestures” is discussed, particularly inthe case of optical scanning, where particular movements made with ahandheld scanner might represent standard actions such as marking thestart and end of a region of text.

This is analogous to actions such as pressing the shift key on akeyboard while using the cursor keys to select a region of text, orusing the wheel on a mouse to scroll a document. Such actions by theuser are sufficiently standard that they are interpreted in asystem-wide way by the OS, thus ensuring consistent behavior. The sameis desirable for scanner gestures and other scanner-related actions.

11.2.5. Set Response to Standard (and Non-Standard) Iconic/Text PrintedMenu Items

In a similar way, certain items of text or other symbols may, whenscanned, cause standard actions to occur, and the OS may provide aselection of these. An example might be that scanning the text “[print]”in any document would cause the OS to retrieve and print a copy of thatdocument. The OS may also provide a way to register such actions andassociate them with particular scans.

11.3. Support in System GUI Components for Typical Scan-InitiatedActivities

Most software applications are based substantially on standard GraphicalUser Interface components provided by the OS.

Use of these components by developers helps to ensure Consistentbehavior across multiple packages, for example that pressing theleft-cursor key in any text-editing context should move the cursor tothe left, without every programmer having to implement the samefunctionality independently.

A similar consistency in these components is desirable when theactivities are initiated by text-capture or other aspects of thedescribed system. Some examples are given below.

11.3.1. Interface to Find Particular Text Content

A typical use of the system may be for the user to scan an area of apaper document, and for the system to open the electronic counterpart ina software package that is able to display or edit it, and cause thatpackage to scroll to and highlight the scanned text (Section 12.2.1).The first part of this process, finding and opening the electronicdocument, is typically provided—by the OS and is standard acrosssoftware packages. The second part, however—locating a particular pieceof text within a document and causing the package to scroll to it andhighlight it—is not yet standardized and is often implementeddifferently by each package. The availability of a standard API for thisfunctionality could greatly enhance the operation of this aspect of thesystem.

11.3.2. Text Interactions

Once a piece of text has been located within a document, the system maywish to perform a variety of operations upon that text. As an example,the system may request the surrounding text, so that the user's captureof a few words could result in the system accessing the entire sentenceor paragraph containing them. Again, this functionality can be usefullyprovided by the OS rather than being implemented in every piece ofsoftware that handles text.

11.3.3. Contextual (Popup) Menus

Some of the operations that are enabled by the system will require userfeedback, and this may be optimally requested within the context of theapplication handling the data. In some embodiments, the system uses theapplication pop-up menus traditionally associated with clicking theright mouse button on some text. The system inserts extra options intosuch menus, and causes them to be displayed as a result of activitiessuch as scanning a paper document.

11.4. Web/Network Interfaces

In today's increasingly networked world, much of the functionalityavailable on individual machines can also be accessed over a network,and the functionality associated with the described system is noexception. As an example, in an office environment, many paper documentsreceived by a user may have been printed by other users' machines on thesame corporate network. The system on one computer, in response to acapture, may be able to query those other machines for documents whichmay correspond to that capture, subject to the appropriate permissioncontrols.

11.5. Printing of Document Causes Saving

An important factor in the integration of paper and digital documents ismaintaining as much information as possible about the transitionsbetween the two. In some embodiments, the OS keeps a simple record ofwhen any document was printed and by whom. In some embodiments, the OStakes one or more further actions that would make it better suited foruse with the system. Examples include:

-   -   Saving the digital rendered version of every document printed        along with information about the source from which it was        printed    -   Saving a subset of useful information about the printed        version—for example, the fonts used and where the line breaks        occur—which might aid future scan interpretation    -   Saving the version of the source document associated with any        printed copy    -   Indexing the document automatically at the time of printing and        storing the results for future searching

11.6. My (Printed/Scanned) Documents

An OS often maintains certain categories of folders or files that haveparticular significance. A user's documents may, by convention ordesign, be found in a “My Documents” folder, for example. Standardfile-opening dialogs may automatically include a list of recently openeddocuments.

On an OS optimized for use with the described system, such categoriesmay be enhanced or augmented in ways that take into account a user'sinteraction with paper versions of the stored files. Categories such as“My Printed Documents” or “My Recently-Read Documents” might usefully beidentified and incorporated in its operations.

11.7. OS-level markup hierarchies

Since Important Aspects of the System are Typically Provided Using the“markup” concepts discussed in Section 5, it would clearly beadvantageous to have support for such markup provided by the OS in a waythat was accessible to multiple applications as well as to the OSitself. In addition, layers of markup may be provided by the OS, basedon its own knowledge of documents under its control and the facilitiesit is able to provide.

11.8. Use of OS DRM Facilities

An increasing number of operating systems support some form of “DigitalRights Management”: the ability to control the use of particular dataaccording to the rights granted to a particular user, software entity ormachine. It may inhibit unauthorized copying or distribution of aparticular document, for example.

12. User Interface

The user interface of the system may be entirely on a PC, if the capturedevice is relatively dumb and is connected to it by a cable, or entirelyon the device, if it is sophisticated and with significant processingpower of its own. In some cases, some functionality resides in eachcomponent. Part, or indeed all, of the system's functionality may alsobe implemented on other devices such as mobile phones or PDAs.

The descriptions in the following sections are therefore indications ofwhat may be desirable in certain implementations, but they are notnecessarily appropriate for all and may be modified in several ways.

12.1. On the Capture Device

With all capture devices, but particularly in the case of an opticalscanner, the user's attention will generally be on the device and thepaper at the time of scanning. It is very desirable, then, that anyinput and feedback needed as part of the process of scanning do notrequire the user's attention to be elsewhere, for example on the screenof a computer, more than is necessary.

12.1.1. Feedback on Scanner

A handheld scanner may have a variety of ways of providing feedback tothe user about particular conditions. The most obvious types are directvisual, where the scanner incorporates indicator lights or even a fulldisplay, and auditory, where the scanner can make beeps, clicks or othersounds. Important alternatives include tactile feedback, where thescanner can vibrate, buzz, or otherwise stimulate the user's sense oftouch, and projected feedback, where it indicates a status by projectingonto the paper anything from a colored spot of light to a sophisticateddisplay.

Important immediate feedback that may be provided on the deviceincludes:

-   -   feedback on the scanning process—user scanning too fast, at too        great an angle, or drifting too high or low on a particular line    -   sufficient content—enough has been scanned to be pretty certain        of finding a match if one exists—important for disconnected        operation    -   context known—a source of the text has been located    -   unique context known—one unique source of the text has been        located    -   availability of content indication of whether the content is        freely available to the user, or at a cost

Many of the user interactions normally associated with the later stagesof the system may also take place on the capture device if it hassufficient abilities, for example, to display part or all of a document.

12.1.2. Controls on Scanner

The device may provide a variety of ways for the user to provide inputin addition to basic text capture. Even when the device is in closeassociation with a host machine that has input options such as keyboardsand mice, it can be disruptive for the user to switch back and forthbetween manipulating the scanner and using a mouse, for example.

The handheld scanner may have buttons, scroll/jog-wheels,touch-sensitive surfaces, and/or accelerometers for detecting themovement of the device. Some of these allow a richer set of interactionswhile still holding the scanner.

For example, in response to scanning some text, the system presents theuser with a set of several possible matching documents. The user uses ascroll-wheel on the side of the scanner is to select one from the list,and clicks a button to confirm the selection.

12.1.3. Gestures

The primary reason for moving a scanner across the paper is to capturetext, but some movements may be detected by the device and used toindicate other user intentions. Such movements are referred to herein as“gestures.”

As an example, the user can indicate a large region of text by scanningthe first few words in conventional left-to-right order, and the lastfew in reverse order, i.e. right to left. The user can also indicate thevertical extent of the text of interest by moving the scanner down thepage over several lines. A backwards scan might indicate cancellation ofthe previous scan operation.

12.1.4. Online/Offline Behavior

Many aspects of the system may depend on network connectivity, eitherbetween components of the system such as a scanner and a host laptop, orwith the outside world in the form of a connection to corporatedatabases and Internet search. This connectivity may not be present allthe time, however, and so there will be occasions when part or all ofthe system may be considered to be “offline.” It is desirable to allowthe system to continue to function usefully in those circumstances.

The device may be used to capture text when it is out of contact withother parts of the system. A very simple device may simply be able tostore the image or audio data associated with the capture, ideally witha timestamp indicating when it was captured. The various captures may beuploaded to the rest of the system when the device is next in contactwith it, and handled then. The device may also upload other dataassociated with the captures, for example voice annotations associatedwith optical scans, or location information.

More sophisticated devices may be able to perform some or all of thesystem operations themselves despite being disconnected. Varioustechniques for improving their ability to do so are discussed in Section15.3. Often it will be the case that some, but not all, of the desiredactions can be performed while offline. For example, the text may berecognized, but identification of the source may depend on a connectionto an Internet-based search engine. In some embodiments, the devicetherefore stores sufficient information about how far each operation hasprogressed for the rest of the system to proceed efficiently whenconnectivity is restored.

The operation of the system will, in general, benefit from immediatelyavailable connectivity, but there are some situations in whichperforming several captures and then processing them as a batch can haveadvantages. For example, as discussed in Section 13 below, theidentification of the source of a particular capture may be greatlyenhanced by examining other captures made by the user at approximatelythe same time. In a fully connected system where live feedback is beingprovided to the user, the system is only able to use past captures whenprocessing the current one. If the capture is one of a batch stored bythe device when offline, however, the system will be able to take intoaccount any data available from later captures as well as earlier oneswhen doing its analysis.

12.2. On a Host Device

A scanner will often communicate with some other device, such as a PC,PDA, phone or digital camera to perform many of the functions of thesystem, including more detailed interactions with the user.

12.2.1. Activities Performed in Response to a Capture

When the host device receives a capture, it may initiate a variety ofactivities. An incomplete list of possible activities performed by thesystem after locating and electronic counterpart document associatedwith the capture and a location within that document follows.

-   -   The details of the capture may be stored in the user's history.        (Section 6.1)    -   The document may be retrieved from local storage or a remote        location (Section 8)    -   The operating system's metadata and other records associated        with the document may be updated. (Section 11.1)    -   Markup associated with the document may be examined to determine        the next relevant operations. (Section 5)    -   A software application may be started to edit, view or otherwise        operate on the document. The choice of application may depend on        the source document, or on the contents of the scan, or on some        other aspect of the capture. (Section 11.2.2, 11.2.3)    -   The application may scroll to, highlight, move the insertion        point to, or otherwise indicate the location of the capture.        (Section 11.3)    -   The precise bounds of the captured text may be modified, for        example to select whole words, sentences or paragraphs around        the captured text. (Section 11.3.2)    -   The user may be given the option to copy the capture text to the        clipboard or perform other standard operating system or        application-specific operations upon it.    -   Annotations may be associated with the document or the captured        text. These may come from immediate user input, or may have been        captured earlier, for example in the case of voice annotations        associated with an optical scan. (Section 19.4)    -   Markup may be examined to determine a set of further possible        operations for the user to select.

12.2.2. Contextual Popup Menus

Sometimes the appropriate action to be taken by the system will beobvious, but sometimes it will require a choice to be made by the user.One good way to do this is through the use of “popup menus” or, in caseswhere the content is also being displayed on a screen, with so-called“contextual menus” that appear close to the content. (See Section11.3.3). In some embodiments, the scanner device projects a popup menuonto the paper document. A user may select from such menus usingtraditional methods such as a keyboard and mouse, or by using controlson the capture device (Section 12.1.2), gestures (Section 12.1.3), or byinteracting with the computer display using the scanner (Section12.2.4). In some embodiments, the popup menus which can appear as aresult of a capture include default items representing actions whichoccur if the user does not respond—for example, if the user ignores themenu and makes another capture.

12.2.3. Feedback on Disambiguation

When a user starts capturing text, there will initially be severaldocuments or other text locations that it could match. As more text iscaptured, and other factors are taken into account (Section 13), thenumber of candidate locations will decrease until the actual location isidentified, or further disambiguation is not possible without userinput. In some embodiments, the system provides a real-time display ofthe documents or the locations found, for example in list,thumbnail-image or text-segment form, and for the number of elements inthat display to reduce in number as capture continues. In someembodiments, the system displays thumbnails of all candidate documents,where the size or position of the thumbnail is dependent on theprobability of it being the correct match.

When a capture is unambiguously identified, this fact may be emphasizedto the user, for example using audio feedback.

Sometimes the text captured will occur in many documents and will berecognized to be a quotation. The system may indicate this on thescreen, for example by grouping documents containing a quoted referencearound the original source document.

12.2.4. Scanning from Screen

Some optical scanners may be able to capture text displayed on a screenas well as on paper. Accordingly, the term rendered document is usedherein to indicate that printing onto paper is not the only form ofrendering, and that the capture of text or symbols for use by the systemmay be equally valuable when that text is displayed on an electronicdisplay.

The user of the described system may be required to interact with acomputer screen for a variety of other reasons, such as to select from alist of options. It can be inconvenient for the user to put down thescanner and start using the mouse or keyboard. Other sections havedescribed physical controls on the scanner (Section 12.1.2) or gestures(Section 12.1.3) as methods of input which do not require this change oftool, but using the scanner on the screen itself to scan some text orsymbol is an important alternative provided by the system.

In some embodiments, the optics of the scanner allow it to be used in asimilar manner to a light-pen, directly sensing its position on thescreen without the need for actual scanning of text, possibly with theaid of special hardware or software on the computer.

13. Context Interpretation

An important aspect of the described system is the use of other factors,beyond the simple capture of a string of text, to help identify thedocument in use. A capture of a modest amount of text may often identifythe document uniquely, but in many situations it will identify a fewcandidate documents. One solution is to prompt the user to confirm thedocument being scanned, but a preferable alternative is to make use ofother factors to narrow down the possibilities automatically. Suchsupplemental information can dramatically reduce the amount of text thatneeds to be captured and/or increase the reliability and speed withwhich the location in the electronic counterpart can be identified. Thisextra material is referred to as “context,” and it was discussed brieflyin Section 4.2.2. We now consider it in more depth.

13.1. System and Capture Context

Perhaps the most important example of such information is the user'scapture history.

It is highly probable that any given capture comes from the samedocument as the previous one, or from an associated document, especiallyif the previous capture took place in the last few minutes (Section6.1.2). Conversely, if the system detects that the font has changedbetween two scans, it is more likely that they are from differentdocuments.

Also useful are the user's longer-term capture history and readinghabits. These can also be used to develop a model of the user'sinterests and associations.

13.2. User's Real-World Context

Another example of useful context is the user's geographical location. Auser in Paris is much more likely to be reading Le Monde than theSeattle Times, for example. The timing, size and geographicaldistribution of printed versions of the documents can therefore beimportant, and can to some degree be deduced from the operation of thesystem.

The time of day may also be relevant, for example in the case of a userwho always reads one type of publication on the way to work, and adifferent one at lunchtime or on the train going home.

13.3. Related Digital Context

The user's recent use of electronic documents, including those searchedfor or retrieved by more conventional means, can also be a helpfulindicator.

In some cases, such as on a corporate network, other factors may beusefully considered:

-   -   Which documents have been printed recently?    -   Which documents have been modified recently on the corporate        file server?    -   Which documents have been emailed recently?

All of these examples might suggest that a user was more likely to bereading a paper version of those documents. In contrast, if therepository in which a document resides can affirm that the document hasnever been printed or sent anywhere where it might have been printed,then it can be safely eliminated in any searches originating from paper.

13.4. Other Statistics—the Global Context

Section 14 covers the analysis of the data stream resulting frompaper-based searches, but it should be noted here that statistics aboutthe popularity of documents with other readers, about the timing of thatpopularity, and about the parts of documents most frequently scanned areall examples of further factors which can be beneficial in the searchprocess. The system brings the possibility of Google-type page-rankingto the world of paper.

See also Section 4.2.2 for some other implications of the use of contextfor search engines.

14. Data-stream Analysis

The use of the system generates an exceedingly valuable data-stream as aside effect. This stream is a record of what users are reading and when,and is in many cases a record of what they find particularly valuable inthe things they read. Such data has never really been available beforefor paper documents.

Some ways in which this data can be useful for the system, and for theuser of the system, are described in Section 6.1. This sectionconcentrates on its use for others. There are, of course, substantialprivacy issues to be considered with any distribution of data about whatpeople are reading, but such issues as preserving the anonymity of dataare well known to those of skill in the art.

14.1. Document Tracking

When the system knows which documents any given user is reading, it canalso deduce who is reading any given document. This allows the trackingof a document through an organization, to allow analysis, for example,of who is reading it and when, how widely it was distributed, how longthat distribution took, and who has seen current versions while othersare still working from out-of-date copies.

For published documents that have a wider distribution, the tracking ofindividual copies is more difficult, but the analysis of thedistribution of readership is still possible.

14.2. Read Ranking—Popularity of Documents and Sub-Regions

In situations where users are capturing text or other data that is ofparticular interest to them, the system can deduce the popularity ofcertain documents and of particular sub-regions of those documents. Thisforms a valuable input to the system itself (Section 4.2.2) and animportant source of information for authors, publishers and advertisers(Section 7.6, Section 10.5). This data is also useful when integrated insearch engines and search indices—for example, to assist in rankingsearch results for queries coming from rendered documents, and/or toassist in ranking conventional queries typed into a web browser.

14.3. Analysis of Users—Building Profiles

Knowledge of what a user is reading enables the system to create a quitedetailed model of the user's interests and activities. This can beuseful on an abstract statistical basis—“35% of users who buy thisnewspaper also read the latest book by that author”—but it can alsoallow other interactions with the individual user, as discussed below.

14.3.1. Social Networking

One example is connecting one user with others who have relatedinterests. These may be people already known to the user. The system mayask a university professor, “Did you know that your colleague at XYZUniversity has also just read this paper?” The system may ask a user,“Do you want to be linked up with other people in your neighborhood whoare also how reading Jane Eyre?” Such links may be the basis for theautomatic formation of book clubs and similar social structures, eitherin the physical world or online.

14.3.2. Marketing

Section 10.6 has already mentioned the idea of offering products andservices to an individual user based on their interactions with thesystem. Current online booksellers, for example, often makerecommendations to a user based on their previous interactions with thebookseller. Such recommendations become much more useful when they arebased on interactions with the actual books.

14.4. Marketing based on other aspects of the data-stream,

We have discussed some of the ways in which the system may influencethose publishing documents, those advertising through them, and othersales initiated from paper (Section 10). Some commercial activities mayhave no direct interaction with the paper documents at all and yet maybe influenced by them. For example, the knowledge that people in onecommunity spend more time reading the sports section of the newspaperthan they do the financial section might be of interest to somebodysetting up a health club.

14.5. Types of Data that may be Captured

In addition to the statistics discussed, such as who is reading whichbits of which documents, and when and where, it can be of interest toexamine the actual contents of the text captured, regardless of whetheror not the document has been located.

In many situations, the user will also not just be capturing some text,but will be causing some action to occur as a result. It might beemailing a reference to the document to an acquaintance, for example.Even in the absence of information about the identity of the user or therecipient of the email, the knowledge that somebody considered thedocument worth emailing is very useful.

In addition to the various methods discussed for deducing the value of aparticular document or piece of text, in some circumstances the userwill explicitly indicate the value by assigning it a rating.

Lastly, when a particular set of users are known to form a group, forexample when they are known to be employees of a particular company, theaggregated statistics of that group can be used to deduce the importanceof a particular document to that group.

15. Device Features and Functions

A capture device for use with the system needs little more than a way ofcapturing text from a rendered version of the document. As describedearlier (Section 1.2), this capture may be achieved through a variety ofmethods including taking a photograph of part of the document or typingsome words into a mobile phone keypad. This capture may be achievedusing a small hand-held optical scanner capable of recording a line ortwo of text at a time, or an audio capture device such as avoice-recorder into which the user is reading text from the document.The device used may be a combination of these—an optical scanner whichcould also record voice annotations, for example—and the capturingfunctionality may be built into some other device such as a mobilephone, PDA, digital camera or portable music player.

15.1. Input and Output

Many of the possibly beneficial additional input and output facilitiesfor such a device have been described in Section 12.1. They includebuttons, scroll-wheels and touch-pads for input, and displays, indicatorlights, audio and tactile transducers for output. Sometimes the devicewill incorporate many of these, sometimes very few. Sometimes thecapture device will be able to communicate with another device thatalready has them (Section 15.6), for example using a wireless link, andsometimes the capture functionality will be incorporated into such otherdevice (Section 15.7).

15.2. Connectivity

In some embodiments, the device implements the majority of the systemitself. In some embodiments, however, it often communicates with a PC orother computing device and with the wider world using communicationsfacilities.

Often these communications facilities are in the form of ageneral-purpose data network such as Ethernet, 802.11 or UWB or astandard peripheral-connecting network such as USB, IEEE-1394(Firewire), Bluetooth™ or infra-red. When a wired connection such asFirewire or USB is used, the device may receive electrical power thoughthe same connection. In some circumstances, the capture device mayappear to a connected machine to be a conventional peripheral such as aUSB storage device.

Lastly, the device may in some circumstances “dock” with another device,either to be used in conjunction with that device or for convenientstorage.

15.3. Caching and Other Online/Offline Functionality

Sections 3.5 and 12.1.4 have raised the topic of disconnected operation.When a capture device has a limited subset of the total system'sfunctionality, and is not in communication with the other parts of thesystem, the device can still be useful, though the functionalityavailable will sometimes be reduced. At the simplest level, the devicecan record the raw image or audio data being captured and this can beprocessed later. For the user's benefit, however, it can be important togive feedback where possible about whether the data captured is likelyto be sufficient for the task in hand, whether it can be recognized oris likely to be recognizable, and whether the source of the data can beidentified or is likely to be identifiable later. The user will thenknow whether their capturing activity is worthwhile. Even when all ofthe above are unknown, the raw data can still be stored so that, at thevery least, the user can refer to them later. The user may be presentedwith the image of a scan, for example, when the scan cannot berecognized by the OCR process.

To illustrate some of the range of options available, both a ratherminimal optical scanning device and then a much more full-featured oneare described below. Many devices occupy a middle ground between thetwo.

15.3.1. The Simplescanner—a Low-End Offline Example

The SimpleScanner has a scanning head able to read pixels from the pageas it is moved along the length of a line of text. It can detect itsmovement along the page and record the pixels with some informationabout the movement. It also has a clock, which allows each scan to betime-stamped. The clock is synchronized with a host device when theSimpleScanner has connectivity. The clock may not represent the actualtime of day, but relative times may be determined from it so that thehost can deduce the actual time of a scan, or at worst the elapsed timebetween scans.

The SimpleScanner does not have sufficient processing power to performany OCR itself, but it does have some basic knowledge about typicalword-lengths, word-spacings, and their relationship to font size. It hassome basic indicator lights which tell the user whether the scan islikely to be readable, whether the head is being moved too fast, tooslowly or too inaccurately across the paper, and when it determines thatsufficient words of a given size are likely to have been scanned for thedocument to be identified.

The SimpleScanner has a USB connector and can be plugged into the USBport on a computer, where it will be recharged. To the computer itappears to be a USB storage device on which time-stamped data files havebeen recorded, and the rest of the system software takes over from thispoint.

15.3.2. The Superscanner—a High-End Offline Example

The SuperScanner also depends on connectivity for its full operation,but it has a significant amount of on-board storage and processing whichcan help it make better judgments about the data captured while offline.

As it moves along the line of text, the captured pixels are stitchedtogether and passed to an OCR engine that attempts to recognize thetext. A number of fonts, including those from the user's most-readpublications, have been downloaded to it to help perform this task, ashas a dictionary that is synchronized with the user's spelling-checkerdictionary on their PC and so contains many of the words they frequentlyencounter. Also stored on the scanner is a list of words and phraseswith the typical frequency of their use—this may be combined with thedictionary. The scanner can use the frequency statistics both to helpwith the recognition process and also to inform its judgment about whena sufficient quantity of text has been captured; more frequently usedphrases are less likely to be useful as the basis for a search query.

In addition, the full index for the articles in the recent issues of thenewspapers and periodicals most commonly read by the user are stored onthe device, as are the indices for the books the user has recentlypurchased from an online bookseller, or from which the user has scannedanything within the last few months. Lastly, the titles of severalthousand of the most popular publications which have data available forthe system are stored so that, in the absence of other information theuser can scan the title and have a good idea as to whether or notcaptures from a particular work are likely to be retrievable inelectronic form later.

During the scanning process, the system informs user that the captureddata has been of sufficient quality and of a sufficient nature to makeit probable that the electronic copy can be retrieved when connectivityis restored. Often the system indicates to the user that the scan isknown to have been successful and that the context has been recognizedin one of the on-board indices, or that the publication concerned isknown to be making its data available to the system, so the laterretrieval ought to be successful.

The SuperScanner docks in a cradle connected to a PC's Firewire or USBport, at which point, in addition to the upload of captured data, itsvarious onboard indices and other databases are updated based on recentuser activity and new publications. It also has the system to connect towireless public networks or to communicate via Bluetooth to a mobilephone and thence with the public network when such facilities areavailable.

15.4. Features for Optical Scanning

We now consider some of the features that may be particularly desirablein an optical scanner device.

15.4.1. Flexible Positioning and Convenient Optics

One of the reasons for the continuing popularity of paper is the ease ofits use in a wide variety of situations where a computer, for example,would be impractical or inconvenient. A device intended to capture asubstantial part of a user's interaction with paper should therefore besimilarly convenient in use. This has not been the case for scanners inthe past; even the smallest hand-held devices have been somewhatunwieldy. Those designed to be in contact with the page have to be heldat a precise angle to the paper and moved very carefully along thelength of the text to be scanned. This is acceptable when scanning abusiness report on an office desk, but may be impractical when scanninga phrase from a novel while waiting for a train. Scanners based oncamera-type optics that operate at a distance from the paper maysimilarly be useful in some circumstances.

Some embodiments of the system use a scanner that scans in contact withthe paper, and which, instead of lenses, uses an image conduit a bundleof optical fibers to transmit the image from the page to the opticalsensor device. Such a device can be shaped to allow it to be held in anatural position; for example, in some embodiments, the part in contactwith the page is wedge-shaped, allowing the user's hand to move morenaturally over the page in a movement similar to the use of ahighlighter pen. The conduit is either in direct contact with the paperor in close proximity to it, and may have a replaceable transparent tipthat can protect the image conduit from possible damage. As has beenmentioned in Section 12.2.4, the scanner may be used to scan from ascreen as well as from paper, and the material of the tip can be chosento reduce the likelihood of damage to such displays.

Lastly, some embodiments of the device will provide feedback to the userduring the scanning process which will indicate through the use oflight, sound or tactile feedback when the user is scanning too fast, tooslow, too unevenly or is drifting too high or low on the scanned line.

15.5. Security, Identity, Authentication, Personalization and Billing

As described in Section 6, the capture device may form an important partof identification and authorization for secure transactions, purchases,and a variety of other operations. It may therefore incorporate, inaddition to the circuitry and software required for such a role, varioushardware features that can make it more secure, such as a smartcardreader, RFID, or a keypad on which to type a PIN.

It may also include various biometric sensors to help identify the user.In the case of an optical scanner, for example, the scanning head mayalso be able to read a fingerprint. For a voice recorder, the voicepattern of the user may be used.

15.6. Device Associations

In some embodiments, the device is able to form an association withother nearby devices to increase either its own or their functionality.In some embodiments, for example, it uses the display of a nearby PC orphone to give more detailed feedback about its operation, or uses theirnetwork connectivity. The device may, on the other hand, operate in itsrole as a security and identification device to authenticate operationsperformed by the other device. Or it may simply form an association inorder to function as a peripheral to that device.

An interesting aspect of such associations is that they may be initiatedand authenticated using the capture facilities of the device. Forexample, a user wishing to identify themselves securely to a publiccomputer terminal may use the scanning facilities of the device to scana code or symbol displayed on a particular area of the terminal's screenand so effect a key transfer. An analogous process may be performedusing audio signals picked up by a voice-recording device.

15.7. Integration with Other Devices

In some embodiments, the functionality of the capture device isintegrated into some other device that is already in use. The integrateddevices may be able to share a power supply, data capture and storagecapabilities, and network interfaces. Such integration may be donesimply for convenience, to reduce cost, or to enable functionality thatwould not otherwise be available.

Some examples of devices into which the capture functionality can beintegrated include:

-   -   an existing peripheral such as a mouse, a stylus, a USB “webcam”        camera, a Bluetooth™ headset or a remote control    -   another processing/storage device, such as a PDA, an MP3 player,        a voice recorder, a digital camera or a mobile phone    -   other often-carried items, just for convenience—a watch, a piece        of jewelry, a pen, a car key fob

15.7.1. Mobile Phone Integration

As an example of the benefits of integration, we consider the use of amodified mobile phone as the capture device.

In some embodiments, the phone hardware is not modified to support thesystem, such as where the text capture can be adequately done throughvoice recognition, where they can either be processed by the phoneitself, or handled by a system at the other end of a telephone call, orstored in the phone's memory for future processing. Many modern phoneshave the ability to download software that could implement some parts ofthe system. Such voice capture is likely to be suboptimal in manysituations, however, for example when there is substantial backgroundnoise, and accurate voice recognition is a difficult task at the best oftimes. The audio facilities may best be used to capture voiceannotations.

In some embodiments, the camera built into many mobile phones is used tocapture an image of the text. The phone display, which would normallyact as a viewfinder for the camera, may overlay on the live camera imageinformation about the quality of the image and its suitability for OCR,which segments of text are being captured, and even a transcription ofthe text if the OCR can be performed on the phone.

In some embodiments, the phone is modified to add dedicated capturefacilities, or to provide such functionality in a clip-on adaptor or aseparate Bluetooth-connected peripheral in communication with the phone.Whatever the nature of the capture mechanism, the integration with amodern cellphone has many other advantages. The phone has connectivitywith the wider world, which means that queries can be submitted toremote search engines or other parts of the system, and copies ofdocuments may be retrieved for immediate storage or viewing. A phonetypically has sufficient processing power for many of the functions ofthe system to be performed locally, and sufficient storage to capture areasonable amount of data. The amount of storage can also often beexpanded by the user. Phones have reasonably good displays and audiofacilities to provide user feedback, and often a vibrate function fortactile feedback. They also have good power supplies.

Most significantly of all, they are a device that most users are alreadycarrying.

Part III—Example Applications of the System

This section lists example uses of the system and applications that maybe built on it. This list is intended to be purely illustrative and inno sense exhaustive.

16. Personal Applications

16.1. Life Library

The Life Library (see also Section 6.1.1) is a digital archive of anyimportant documents that the subscriber wishes to save and is a set ofembodiments of services of this system. Important books, magazinearticles, newspaper clippings, etc., can all be saved in digital form inthe Life Library. Additionally, the subscriber's annotations, comments,and notes can be saved with the documents. The Life Library can beaccessed via the Internet and World Wide Web.

The system creates and manages the Life Library document archive forsubscribers. The subscriber indicates which documents the subscriberwishes to have saved in his life library by scanning information fromthe document or by otherwise indicating to the system that theparticular document is to be added to the subscriber's Life Library. Thescanned information is typically text from the document but can also bea barcode or other code identifying the document. The system accepts thecode and uses it to identify the source document. After the document isidentified the system can store either a copy of the document in theuser's Life Library or a link to a source where the document may beobtained.

One embodiment of the Life Library system can check whether thesubscriber is authorized to obtain the electronic copy. For example, ifa reader scans text or an identifier from a copy of an article in theNew York Times (NYT) so that the article will be added to the reader'sLife Library, the Life Library system will verify with the NYT whetherthe reader is subscribed to the online version of the NYT; if so, thereader gets a copy of the article stored in his Life Library account; ifnot, information identifying the document and how to order it is storedin his Life Library account.

In some embodiments, the system maintains a subscriber profile for eachsubscriber that includes access privilege information. Document accessinformation can be compiled in several ways, two of which are: 1) thesubscriber supplies the document access information to the Life Librarysystem, along with his account names and passwords, etc., or 2) the LifeLibrary service provider queries the publisher with the subscriber'sinformation and the publisher responds by providing access to anelectronic copy if the Life Library subscriber is authorized to accessthe material. If the Life Library subscriber is not authorized to havean electronic copy of the document, the publisher provides a price tothe Life Library service provider, which then provides the customer withthe option to purchase the electronic document. If so, the Life Libraryservice provider either pays the publisher directly and bills the LifeLibrary customer later or the Life Library service provider immediatelybills the customer's credit card for the purchase. The Life Libraryservice provider would get a percentage of the purchase price or a smallfixed fee for facilitating the transaction.

The system can archive the document in the subscriber's personal libraryand/or any other library to which the subscriber has archivalprivileges. For example, as a user scans text from a printed document,the Life Library system can identify the rendered document and itselectronic counterpart. After the source document is identified, theLife Library system might record information about the source documentin the user's personal library and in a group library to which thesubscriber has archival privileges. Group libraries are collaborativearchives such as a document repository for: a group working together ona project, a group of academic researchers, a group web log, etc.

The life library can be organized in many ways: chronologically, bytopic, by level of the subscriber's interest, by type of publication(newspaper, book, magazine, technical paper, etc.), where read, whenread, by ISBN or by Dewey decimal, etc. In one alternative, the systemcan learn classifications based on how other subscribers have classifiedthe same document. The system can suggest classifications to the user orautomatically classify the document for the user.

In various embodiments, annotations may be inserted directly into thedocument or may be maintained in a separate file. For example, when asubscriber scans text from a newspaper article, the article is archivedin his Life Library with the scanned text highlighted. Alternatively,the article is archived in his Life Library along with an associatedannotation file (thus leaving the archived document unmodified).Embodiments of the system can keep a copy of the source document in eachsubscriber's library, a copy in a master library that many subscriberscan access, or link to a copy held by the publisher.

In some embodiments, the Life Library stores only the user'smodifications to the document (e.g., highlights, etc.) and a link to anonline version of the document (stored elsewhere). The system or thesubscriber merges the changes with the document when the subscribersubsequently retrieves the document.

If the annotations are kept in a separate file, the source document andthe annotation file are provided to the subscriber and the subscribercombines them to create a modified document. Alternatively, the systemcombines the two files prior to presenting them to the subscriber. Inanother alternative, the annotation file is an overlay to the documentfile and can be overlaid on the document by software in the subscriber'scomputer.

Subscribers to the Life Library service pay a monthly fee to have thesystem maintain the subscriber's archive. Alternatively, the subscriberpays a small amount (e.g., a micro-payment) for each document stored inthe archive. Alternatively, the subscriber pays to access thesubscriber's archive on a per-access fee. Alternatively, subscribers cancompile libraries and allow others to access the materials/annotationson a revenue share model with the Life Library service provider andcopyright holders. Alternatively, the Life Library service providerreceives a payment from the publisher when the Life Library subscriberorders a document (a revenue share model with the publisher, where theLife Library service provider gets a share of the publisher's revenue).

In some embodiments, the Life Library service provider acts as anintermediary between the subscriber and the copyright holder (orcopyright holder's agent, such as the Copyright Clearance Center, a.k.a.CCC) to facilitate billing and payment for copyrighted materials. TheLife Library service provider uses the subscriber's billing informationand other user account information to provide this intermediationservice. Essentially, the Life Library service provider leverages thepre-existing relationship with the subscriber to enable purchase ofcopyrighted materials on behalf of the subscriber.

In some embodiments, the Life Library system can store excerpts fromdocuments. For example, when a subscriber scans text from a paperdocument, the regions around the scanned text are excerpted and placedin the Life Library, rather than the entire document being archived inthe life library. This is especially advantageous when the document islong because preserving the circumstances of the original scan preventsthe subscriber from re-reading the document to find the interestingportions. Of course, a hyperlink to the entire electronic counterpart ofthe paper document can be included with the excerpt materials.

In some embodiments, the system also stores information about thedocument in the Life Library, such as author, publication title,publication date, publisher, copyright holder (or copyright holder'slicensing agent), ISBN, links to public annotations of the document,readrank, etc. Some of this additional information about the document isa form of paper document metadata. Third parties may create publicannotation files for access by persons other than themselves, such thegeneral public. Linking to a third party's commentary on a document isadvantageous because reading annotation files of other users enhancesthe subscriber's understanding of the document.

In some embodiments, the system archives materials by class. Thisfeature allows a Life Library subscriber to quickly store electroniccounterparts to an entire class of paper documents without access toeach paper document. For example, when the subscriber scans some textfrom a copy of National Geographic magazine, the system provides thesubscriber with the option to archive all back issues of the NationalGeographic. If the subscriber elects to archive all back issues, theLife Library service provider would then verify with the NationalGeographic Society whether the subscriber is authorized to do so. Ifnot, the Life Library service provider can mediate the purchase of theright to archive the National Geographic magazine collection.

16.2. Life Saver

A variation on, or enhancement of, the Life Library concept is the “LifeSaver,” where the system uses the text captured by a user to deduce moreabout their other activities. The scanning of a menu from a particularrestaurant, a program from a particular theater performance, a timetableat a particular railway station, or an article from a local newspaperallows the system to make deductions about the user's location andsocial activities, and could construct an automatic diary for them, forexample as a website. The user would be able to edit and modify thediary, add additional materials such as photographs and, of course, lookagain at the items scanned.

17. Academic Applications

Portable scanners supported by the described system have many compellinguses in the academic setting. They can enhance student/teacherinteraction and augment the learning experience. Among other uses,students can annotate study materials to suit their unique needs;teachers can monitor classroom performance; and teachers canautomatically verify source materials cited in student assignments.

17.1. Children's Books

A child's interaction with a paper document, such as a book, ismonitored by a literacy acquisition system that employs a specific setof embodiments of this system. The child uses a portable scanner thatcommunicates with other elements of the literacy acquisition system. Inaddition to the portable scanner, the literacy acquisition systemincludes a computer having a display and speakers, and a databaseaccessible by the computer. The scanner is coupled with the computer(hardwired, short range RF, etc.). When the child sees an unknown wordin the book, the child scans it with the scanner. In one embodiment, theliteracy acquisition system compares the scanned text with the resourcesin its database to identify the word. The database includes adictionary, thesaurus, and/or multimedia files (e.g., sound, graphics,etc.). After the word has been identified, the system uses the computerspeakers to pronounce the word and its definition to the child. Inanother embodiment, the word and its definition are displayed by theliteracy acquisition system on the computers monitor. Multimedia filesabout the scanned word can also be played through the computers monitorand speakers. For example, if a child reading “Goldilocks and the ThreeBears” scanned the word “bear,” the system might pronounce the word“bear” and play a short video about bears on the computers monitor. Inthis way, the child learns to pronounce the written word and is visuallytaught what the word means via the multimedia presentation.

The literacy acquisition system provides immediate auditory and/orvisual information to enhance the learning process. The child uses thissupplementary information to quickly acquire a deeper understanding ofthe written material. The system can be used to teach beginning readersto read, to help children acquire a larger vocabulary, etc. This systemprovides the child with information about words with which the child isunfamiliar or about which the child wants more information.

17.2. Literacy Acquisition

In some embodiments, the system compiles personal dictionaries. If thereader sees a word that is new, interesting, or particularly useful ortroublesome, the reader saves it (along with its definition) to acomputer file. This computer file becomes the reader's personalizeddictionary. This dictionary is generally smaller in size than a generaldictionary so can be downloaded to a mobile station or associated deviceand thus be available even when the system isn't immediately accessible.In some embodiments, the personal dictionary entries include audio filesto assist with proper word pronunciation and information identifying thepaper document from which the word was scanned.

In some embodiments, the system creates customized spelling andvocabulary tests for students. For example, as a student reads anassignment, the student may scan unfamiliar words with the portablescanner. The system stores a list of all the words that the student hasscanned. Later, the system administers a customized spelling/vocabularytest to the student on an associated monitor (or prints such a test onan associated printer).

17.3. Music Teaching

The arrangement of notes on a musical staff is similar to thearrangement of letters in a line of text. The same scanning devicediscussed for capturing text in this system can be used to capture musicnotation, and an analogous process of constructing a search againstdatabases of known musical pieces would allow the piece from which thecapture occurred to be identified which can then be retrieved, played,or be the basis for some further action.

17.4. Detecting Plagiarism

Teachers can use the system to detect plagiarism or to verify sources byscanning text from student papers and submitting the scanned text to thesystem. For example, a teacher who wishes to verify that a quote in astudent paper came from the source that the student cited can scan aportion of the quote and compare the title of the document identified bythe system with the title of the document cited by the student.Likewise, the system can use scans of text from assignments submitted asthe student's original work to reveal if the text was instead copied.

17.5. Enhanced Textbook

In some embodiments, capturing text from an academic textbook linksstudents or staff to more detailed explanations, further exercises,student and staff discussions about the material, related example pastexam questions, further reading on the subject, recordings of thelectures on the subject, and so forth. (See also Section 7.1.)

17.6. Language Learning

In some embodiments, the system is used to teach foreign languages.Scanning a Spanish word, for example, might cause the word to be readaloud in Spanish along with its definition in English.

The system provides immediate auditory and/or visual information toenhance the new language acquisition process. The reader uses thissupplementary information to acquire quickly a deeper understanding ofthe material. The system can be used to teach beginning students to readforeign languages, to help students acquire a larger vocabulary, etc.The system provides information about foreign words with which thereader is unfamiliar or for which the reader wants more information.

Reader interaction with a paper document, such as a newspaper or book,is monitored by a language skills system. The reader has a portablescanner that communicates with the language skills system. In someembodiments, the language skills system includes a computer having adisplay and speakers, and a database accessible by the computer. Thescanner communicates with the computer (hardwired, short range RF,etc.). When the reader sees an unknown word in an article, the readerscans it with the scanner. The database includes a foreign languagedictionary, thesaurus, and/or multimedia files (sound, graphics, etc.).In some embodiments, the system compares the scanned text with theresources in its database to identify the scanned word. After the wordhas been identified, the system uses the computer speakers to pronouncethe word and its definition to the reader. In some embodiments, the wordand its definition are both displayed on the computer's monitor.Multimedia files about grammar tips related to the scanned word can alsobe played through the computer's monitor and speakers. For example, ifthe words “to speak” are scanned, the system might pronounce the word“hablar,” play a short audio clip that demonstrates the proper Spanishpronunciation, and display a complete list of the various conjugationsof “hablar.” In this way, the student learns to pronounce the writtenword, is visually taught the spelling of the word via the multimediapresentation, and learns how to conjugate the verb. The system can alsopresent grammar tips about the proper usage of “hablar” along withcommon phrases.

In some embodiments, the user scans a word or short phrase from arendered document in a language other than the user's native language(or some other language that the user knows reasonably well). In someembodiments, the system maintains a prioritized list of the user's“preferred” languages. The system identifies the electronic counterpartof the rendered document, and determines the location of the scan withinthe document. The system also identifies a second electronic counterpartof the document that has been translated into one of the user'spreferred languages, and determines the location in the translateddocument corresponding to the location of the scan in the originaldocument. When the corresponding location is not known precisely, thesystem identifies a small region (e.g., a paragraph) that includes thecorresponding location of the scanned location. The correspondingtranslated location is then presented to the user. This provides theuser with a precise translation of the particular usage at the scannedlocation, including any slang or other idiomatic usage that is oftendifficult to accurately translate on a word-by-word basis.

17.7. Gathering Research Materials

A user researching a particular topic may encounter all sorts ofmaterial, both in print and on screen, which they might wish to recordas relevant to the topic in some personal archive. The system wouldenable this process to be automatic as a result of scanning a shortphrase in any piece of material, and could also create a bibliographysuitable for insertion into a publication on the subject.

18. Commercial Applications

Obviously, commercial activities could be made out of almost any processdiscussed in this document, but here we concentrate on a few obviousrevenue streams.

18.1. Fee-Based Searching and Indexing

Conventional Internet search engines typically provide free search ofelectronic documents, and also make no charge to the content providersfor including their content in the index. In some embodiments, thesystem provides for charges to users and/or payments to search enginesand/or content providers in connection with the operation and use of thesystem.

In some embodiments, subscribers to the system's services pay a fee forsearches originating from scans of paper documents. For example, astockbroker may be reading a Wall Street Journal article about a newproduct offered by Company X. By scanning the Company X name from thepaper document and agreeing to pay the necessary fees, the stockbrokeruses the system to search special or proprietary databases to obtainpremium information about the company, such as analyst's reports. Thesystem can also make arrangements to have priority indexing of thedocuments most likely to be read in paper form, for example by makingsure all of the newspapers published on a particular day are indexed andavailable by the time they hit the streets.

Content providers may pay a fee to be associated with certain terms insearch queries submitted from paper documents. For example, in oneembodiment, the system chooses a most preferred content provider basedon additional context about the provider (the context being, in thiscase, that the content provider has paid a fee to be moved up theresults list). In essence, the search provider is adjusting paperdocument search results based on pre-existing financial arrangementswith a content provider. See also the description of keywords and keyphrases in Section 5.2.

Where access to particular content is to be restricted to certain groupsof people (such as clients or employees), such content may be protectedby a firewall and thus not generally indexable by third parties. Thecontent provider may nonetheless wish to provide an index to theprotected content. In such a case, the content provider can pay aservice provider to provide the content provider's index to systemsubscribers. For example, a law firm may index all of a client'sdocuments. The documents are stored behind the law firm's firewall.However, the law firm wants its employees and the client to have accessto the documents through the portable scanner so it provides the index(or a pointer to the index) to the service provider, which in turnsearches the law firm's index when employees or clients of the law firmsubmit paper-scanned search terms via their portable scanners. The lawfirm can provide a list of employees and/or clients to the serviceprovider's system to enable this function or the system can verifyaccess rights by querying the law firm prior to searching the law firm'sindex. Note that in the preceding example, the index provided by the lawfirm is only of that client's documents, not an index of all documentsat the law firm. Thus, the service provider can only grant the lawfirm's clients access to the documents that the law firm indexed for theclient.

There are at least two separate revenue streams that can result fromsearches originating from paper documents: one revenue stream from thesearch function, and another from the content delivery function. Thesearch function revenue can be generated from paid subscriptions fromthe scanner users, but can also be generated on a per-search charge. Thecontent delivery revenue can be shared with the content provider orcopyright holder (the service provider can take a percentage of the saleor a fixed fee, such as a micropayment, for each delivery), but also canbe generated by a “referral” model in which the system gets a fee orpercentage for every item that the subscriber orders from the onlinecatalog and that the system has delivered or contributed to, regardlessof whether the service provider intermediates the transaction. In someembodiments, the system service provider receives revenue for allpurchases that the subscriber made from the content provider, either forsome predetermined period of time or at any subsequent time when apurchase of an identified product is made.

18.2. Catalogs

Consumers may use the portable scanner to make purchases from papercatalogs. The subscriber scans information from the catalog thatidentifies the catalog. This information is text from the catalog, a barcode, or another identifier of the catalog. The subscriber scansinformation identifying the products that s/he wishes to purchase. Thecatalog mailing label may contain a customer identification number thatidentifies the customer to the catalog vendor. If so, the subscriber canalso scan this customer identification number. The system acts as anintermediary between the subscriber and the vendor to facilitate thecatalog purchase by providing the customer's selection and customeridentification number to the vendor.

18.3. Coupons

A consumer scans paper coupons and saves an electronic copy of thecoupon in the scanner, or in a remote device such as a computer, forlater retrieval and use. An advantage of electronic storage is that theconsumer is freed from the burden of carrying paper coupons. A furtheradvantage is that the electronic coupons may be retrieved from anylocation. In some embodiments, the system can track coupon expirationdates, alert the consumer about coupons that will expire soon, and/ordelete expired coupons from storage. An advantage for the issuer of thecoupons is the possibility of receiving more feedback about who is usingthe coupons and when and where they are captured and used.

19. General Applications

19.1. Forms

The system may be used to auto-populate an electronic document thatcorresponds to a paper form. A user scans in some text or a barcode thatuniquely identifies the paper form. The scanner communicates theidentity of the form and information identifying the user to a nearbycomputer. The nearby computer has an Internet connection. The nearbycomputer can access a first database of forms and a second databasehaving information about the user of the scanner (such as a serviceprovider's subscriber information database). The nearby computeraccesses an electronic version of the paper form from the first databaseand auto-populates the fields of the form from the user's informationobtained from the second database. The nearby computer then emails thecompleted form to the intended recipient. Alternatively, the computercould print the completed form on a nearby printer.

Rather than access an external database, in some embodiments, the systemhas a portable scanner that contains the user's information, such as inan identity module, SIM, or security card. The scanner providesinformation identifying the form to the nearby PC. The nearby PCaccesses the electronic form and queries the scanner for any necessaryinformation to fill out the form.

19.2. Business Cards

The system can be used to automatically populate electronic addressbooks or other contact lists from paper documents. For example, uponreceiving a new acquaintance's business card, a user can capture animage of the card with his/her cellular phone. The system will locate anelectronic copy of the card, which can be used to update the cellularphone's onboard address book with the new acquaintance's contactinformation. The electronic copy may contain more information about thenew acquaintance than can be squeezed onto a business card. Further, theonboard address book may also store a link to the electronic copy suchthat any changes to the electronic copy will be automatically updated inthe cell phone's address book. In this example, the business cardoptionally includes a symbol or text that indicates the existence of anelectronic copy. If no electronic copy exists, the cellular phone canuse OCR and knowledge of standard business card formats to fill out anentry in the address book for the new acquaintance. Symbols may also aidin the process of extracting information directly from the image. Forexample, a phone icon next to the phone number on the business card canbe recognized to determine the location of the phone number.

19.3. Proofreading/Editing

The system can enhance the proofreading and editing process. One way thesystem can enhance the editing process is by linking the editor'sinteractions with a paper document to its electronic counterpart. As aneditor reads a paper document and scans various parts of the document,the system will make the appropriate annotations or edits to anelectronic counterpart of the paper document. For example, if the editorscans a portion of text and makes the “new paragraph” control gesturewith the scanner, a computer in communication with the scanner wouldinsert a “new paragraph” break at the location of the scanned text inthe electronic copy of the document.

19.4. Voice Annotation

A user can make voice annotations to a document by scanning a portion oftext from the document and then making a voice recording that isassociated with the scanned text. In some embodiments, the scanner has amicrophone to record the user's verbal annotations. After the verbalannotations are recorded, the system identifies the document from whichthe text was scanned, locates the scanned text within the document, andattaches the voice annotation at that point. In some embodiments, thesystem converts the speech to text and attaches the annotation as atextual comment.

In some embodiments, the system keeps annotations separate from thedocument, with only a reference to the annotation kept with thedocument. The annotations then become an annotation markup layer to thedocument for a specific subscriber or group of users.

In some embodiments, for each capture and associated annotation, thesystem identifies the document, opens it using a software package,scrolls to the location of the scan and plays the voice annotation. Theuser can then interact with a document while referring to voiceannotations, suggested changes or other comments recorded either bythemselves or by somebody else.

19.5. Help In Text

The described system can be used to enhance paper documents withelectronic help menus. In some embodiments, a markup layer associatedwith a paper document contains help menu information for the document.For example, when a user scans text from a certain portion of thedocument, the system checks the markup associated with the document andpresents a help menu to the user. The help menu is presented on adisplay on the scanner or on an associated nearby display.

19.6. Use with Displays

In some situations, it is advantageous to be able to scan informationfrom a television, computer monitor, or other similar display. In someembodiments, the portable scanner is used to scan information fromcomputer monitors and televisions. In some embodiments, the portableoptical scanner has an illumination sensor that is optimized to workwith traditional cathode ray tube (CRT) display techniques such asrasterizing, screen blanking, etc.

A voice capture device which operates by capturing audio of the userreading text from a document will typically work regardless of whetherthat document is on paper, on a display, or on some other medium.

19.6.1. Public Kiosks and Dynamic Session IDs

One use of the direct scanning of displays is the association of devicesas described in Section 15.6. For example, in some embodiments, a publickiosk displays a dynamic session ID on its monitor. The kiosk isconnected to a communication network such as the Internet or a corporateintranet. The session ID changes periodically but at least every timethat the kiosk is used so that a new session ID is displayed to everyuser. To use the kiosk, the subscriber scans in the session ID displayedon the kiosk; by scanning the session ID, the user tells the system thathe wishes to temporarily associate the kiosk with his scanner for thedelivery of content resulting from scans of printed documents or fromthe kiosk screen itself. The scanner may communicate the Session ID andother information authenticating the scanner (such as a serial number,account number, or other identifying information) directly to thesystem. For example, the scanner can communicate directly (where“directly” means without passing the message through the kiosk) with thesystem by sending the session initiation message through the user's cellphone (which is paired with the users scanner via Bluetooth™).Alternatively, the scanner can establish a wireless link with the kioskand use the kiosk's communication link by transferring the sessioninitiation information to the kiosk (perhaps via short range RF such asBluetooth™, etc.); in response, the kiosk sends the session initiationinformation to the system via its Internet connection.

The system can prevent others from using a device that is alreadyassociated with a scanner during the period (or session) in which thedevice is associated with the scanner. This feature is useful to preventothers from using a public kiosk before another person's session hasended. As an example of this concept related to use of a computer at anInternet café, the user scans a barcode on a monitor of a PC which s/hedesires to use; in response, the system sends a session ID to themonitor that it displays; the user initiates the session by scanning thesession ID from the monitor (or entering it via a keypad or touch screenor microphone on the portable scanner); and the system associates in itsdatabases the session ID with the serial number (or other identifierthat uniquely identifies the user's scanner) of his/her scanner soanother scanner cannot scan the session ID and use the monitor duringhis/her session. The scanner is in communication (through wireless linksuch as Bluetooth™, a hardwired link such as a docking station, etc.)with a PC associated with the monitor or is in direct (i.e., w/o goingthrough the PC) communication with the system via another means such asa cellular phone, etc.

Part IV—System Details

Embodiments of a Scanner

FIG. 4 is a block diagram showing typical components of a scanner. Thisscanner 400 includes at least input and output capabilities 410, aprocessor 420, memory (e.g. flash memory) 430 for storing data and/orprograms, and a power source 440 (e.g. a battery). FIG. 5 is a blockdiagram showing typical components of a scanner in anotherconfiguration. FIG. 5 shows output 510 (e.g. a display) separately frominput 550 embodied here as an image sensor (such as a CMOS image sensorin a digital camera). FIG. 6 is a block diagram showing typicalcomponents of a scanner in another configuration shows a scannercomprising input and output 610 (e.g. a bluetooth wireless connection),a processor 620, memory 630, a power source 640, an image sensor 650,and a location module 660 (e.g. a Global Positioning System capableapparatus). Headings provided in this disclosure are for clarity andnavigation and are not to be taken as binding.

Optics

In one embodiment, a scanner may capture a representation of a rendereddocument with an image sensor behind an aperture. In another embodiment,this aperture may have a transparent cover such that a sensor isprotected. This covering could be plastic, glass or fiberglass. Inanother embodiment, this covering may be able to focus light. Oneexample of this would be a focusing lens such that the distance from theaperture to a piece of paper may be different than the distance from theaperture to the image sensor. This relation can be formed with1/f=1/u+1/v, (f is the focal length of the lens, u is from the apertureto a document and v is from a sensor to the aperture). One embodiment ofthis is illustrated in FIG. 7. Other embodiments might use more than onefocusing lens, or a lens not located in this aperture. In someembodiments, reflective surfaces, such as a mirror, may be used.

Optical Sensors

In some embodiments, a scanner may include an image sensor. One exampleof an image sensor would be with a CMOS (computer chip transistortechnology) image sensor. Such a sensor may be able to photograph abacklit display such as a computer monitor. Another example would be aCharge Coupled Device (CCD). Both of these are ways for a computer chipto measure light as electrical signals across a grid of sensors. Anotherexample would be a linear array of light sensitive photo-transistors.

In some embodiments, a button may be used to start the scanning process.Such a button could be placed so it is easily activated by a user. Inone embodiment, a button may protrude from this scanner such that it isdepressed when this scanner is likely above content. FIG. 8 is aschematic diagram showing switches incorporated in the scanner in someembodiments, shown in FIG. 8, the scanner 800 may have a user button 810and a proximity button 820. In this diagram, both are bolded and shadedfor visibility. In one embodiment, a proximity button's sensor may beinside the scanner, so that the protruding element may be moved intocontact with a sensor as the scanner is moved into contact with adocument 840. In other embodiments, a sensor may be employed to detectproximity to a scanning target. Once triggered, a camera may takedifferent length series of images at different frequencies. In oneembodiment, a scanner may only take a single image. In anotherembodiment, images may be captured many times a second as long as asensor is activated (much like a video camera). Optionally, a scannermay have a light to assist in capturing images.

Storage

This scanner may use storage capabilities, such as computer memory, forvaried purposes.

In this disclosure, and some figures, an embodiment of these storagecapabilities may be referred to as “memory” for clarity, but thisterminology is not to be taken as binding. In some embodiments it maybe: Static, Dynamic, a multiple Data Rate (e.g. Double or Quad) RandomAccess Memory (SRAM, DRAM, DDR-DRAM, QDR-DRAM, respectively), a ReadOnly Memory, Flash Memory, Secure Digital Input/Output (SDIO),CompactFlash, a hard disk drive, Magnetic Memory (e.g. TMJ-RAM), FRAM,Compact Disc, Digital Video Disc, tape storage, USB key or othercomputer readable or processor accessible storage. In some embodiments,there may be multiple types of storage in a scanner. For example, ascanner may have a small hard disk drive for scan results and SRAM for ahigh speed cache. In some embodiments, storage may not be containedwithin a scanner. For example, a scanner may use a serial connection toa computer to store and retrieve data.

This storage may be used to record images captured from image sensors.Storage, not necessarily the same device, may also be used in convertingthese images to formats such as text. Such a process may requiremultiple steps, and these intermediate results go into and out ofmemory. Storage may also be used for recording results of interactions,such as the text of a scan, a combination of an annotation and text, orimages that a user designates. In one embodiment, an image sensor mayautomatically place new images into memory. In some embodiments, onlysome information captured may be of value, and the rest may be deletedor compressed. One example would be deleting images once the scannedtext has been determined. Another approach would be storing images thatmay not contain all of the information captured. Examples includecompression formats such as GIF or JPG. Another approach would be notstoring all of the color information. For example, an image sensor maybe able to capture 24 bits of color information (i.e. distinguish morethan 16 million different colors). It may be that this exemplary scanneronly needs to be able to distinguish between white, probably white,probably black and black (2 bits). This reduction, from 24 to 2 bits,may save almost 92% of this space.

Power Source

In some embodiments, a scanner may have a power source. This may be usedto provide electricity to components of a scanner. Some sources maystore energy. One example is a battery that uses a chemical reaction tofree electrons. These electrons then flow through connections to pointswith a lower electric potential. A gravitational analogue may be waterat the top of a hill, which may flow downhill towards points with lessgravitational potential. Another approach may be to have a power sourcethat is not wholly or primarily contained in this scanner. An examplewould be plugging this scanner into a wall outlet. Another example wouldbe plugging this scanner into a USB outlet such that the host deviceprovides power to the scanner via this power source. In one embodiment,a fuel cell may be used to generate electricity. In one embodiment, afuel cell consists of an anode, cathode, membrane and a catalyst. Thecathode may have paths etched in it filled with oxygen so that oxygen isdistributed over this surface of the cathode. The anode has pathwayswith hydrogen The catalyst begins a reaction between the hydrogen andoxygen. The membrane ensures that electrons are not able to go directlyacross (i.e. between the anode and cathode) and therefore must gothrough a circuit and provide an electric current to the scanner. Apower source may incorporate other parts to be able to provide power.Some scanner components may be designed to receive Alternating Current(AC) whereas a power source component, such as a battery, may produceDirect Current (DC). An electrical device known as an inverter may beemployed to accomplish this. In some embodiments, a power source may beintended to deliver different voltages to different components. One wayof doing this might be to use resistors, or other current limitersforming a voltage divider. Another way of doing this might be useseparate inverters such that each different voltage is produced by adifferent inverter. A power source may also use fuses or other surgeprotection circuitry.

Output

In some embodiments, a scanner may be able to output information. Thismay allow a scanner to store scan results elsewhere, communicate to auser, or signify that something is wrong. This output may be a display,such as an LED or LCD. These types of displays may be found incalculators, digital clocks, cellular phones and other portableelectronics. Some output maybe to another device, such as a wired,wireless or other communications medium. In such an embodiment, a usermay need to use a monitor associated with this other device to viewinformation. Examples of wired connections include: RS-232; PS/2;serial; USB; ethernet; token ring; printer connections (IEEE 1284);firewire; RJ45 (telephone line); homeplug and fiber optics. Examples ofwireless connections include: wireless ethernet (e.g. IEEE 802.11a,b,g);bluetooth; infra-red (IrDA, such as in a television remote control);Ultra wideband; frequency or amplitude modulated signaling (such as inFM/AM radio); analog broadcasts (such as television); PCS; GSM; GPRS;OFDM; CDMA; TDMA; FDMA; ZigBee; wireless 1394; BLAST (from Bell Labs);homeRF; and TD-SCDMA (a Chinese standard). Examples of othercommunications mediums include removable media (e.g. CD-ROMs, DVDs,floppy diskettes, SDIO, memory stick, compact flash, usb keys), PCI,PCI-X, PCI-Express, IDE and SCSI. Other types of output may be auditory(e.g. a piezoelectric speaker), haptic (including a cell phone'svibrate), or other sensory output.

In some embodiments, the scanner uses output to communicate with a user.For example, a user may be notified that a battery is running low onpower. In this embodiment, a chemical battery is periodically checkedwith a voltmeter. Once this reading drops below a threshold, the powersource may notify a central processor by an interrupt. This processormay then save its current state and switch to handling this interrupt.This interrupt may begin a routine, or series of instructions frommemory, to command the processor to signal a particular display (e.g. alow battery light). This processor may then use a system bus to senddata to this display. This display may then interpret this data as acommand to turn on.

In various embodiments, output may be used to signal that a user oughtto rescan; that a connection (e.g. bluetooth) has been detected and isnow connected; that this scanner is turned on; which gesture has beendetected, or which mode this scanner is in; previous scan results (e.g.text or possibly a document name), possibly based on metadata; how muchmemory is left; or information such as time of last scan. Someembodiments may not be designed to output some of these. For example, inone embodiment, a scanner may simply vibrate if a scan needs to berescanned. If a user would like to view previous scans, they may have touse a USB connection to upload the scans in memory to a device that candisplay this data such as a personal computer.

In some embodiments, a scanner processor loads from memory a series ofinstructions to operate an output device. These instructions may commandthis processor to engage an output device by communicating over a systembus or other connection. This processor may then send data to thisoutput device. This output device, if a connection, may then format thedata and send it out. If this output device is a display, this data maybe interpreted and then rendered. For example, if an LED display isused, this display may, in one embodiment, receive data from theprocessor. This data may then be used to address into a lookup table(i.e. Read Only Memory). This lookup table may then produce electricalsignals to control which LEDs on this display are on and which are off.If the data sent is the ASCII code for a lower case s, this lookup tablemay return results from the address range designed to be this letter.These signals may then create a pattern recognizable as a lower case ‘s’on the display.

Stop Scanning LED

In some embodiments, the output may include at least one LED to notify auser that they may stop scanning. FIG. 9 is a schematic diagram showinga visual output component incorporated into the scanner in someembodiments in a first state. FIG. 9 shows an early stage of a scan. Thebox 900 is used to illustrate which text has been scanned, such a markmay not appear to a user. There is a scanner 910 being used on adocument 920. This embodiment of a scanner has a LED 930 that is notemitting light. FIG. 10 is a schematic diagram showing a visual outputcomponent incorporated into the scanner in some embodiments in a secondstate. Later, in FIG. 10 this LED 1030 has been activated. In thisdiagram, more text has been scanned, as represented by the larger box1000.

FIG. 11 is a flow diagram showing steps typically performed by thesystem to monitor a scan for completeness. In the first stage a newgesture is detected 1110. This process is described elsewhere in thisapplication, but an illustrative example would be when a user startsscanning forwards. The next step 1120 records new information. Thisinformation may be from an image sensor. After this, a processor maydecide whether or not this scan is unique 1130. In some embodiments,this may simply be a guess, where this scan has met constraints to giveit perhaps a 99% chance of being unique. In some embodiments this mayoccur through parameterized information. For example, a scanner may beprogrammed that eight words are unique (where a “word” is a series ofcharacters between spaces). Another approach may be 6 words that are alllonger than 3 characters. Another approach may be to determine that ascan is unique after 5 inches. Another approach might be to declare ascan unique after 40 characters. These examples are illustrative and notnecessarily guaranteed to produce 99% correct results. Another approachmay be to use another scanner output to send this scan data to a machinethat returns whether or not this scan is unique. Another approach may beto store enough documents, particularly text fragments, to be able topredict if this scan is unique. Another way that a scan may bedetermined to be unique is if some embedded data is found, such as a twodimensional barcode, that is designed to convey uniquely identifyinginformation.

If this scan is not yet unique, this process returns to 1120 where morescan data is collected. If this scan is unique, this iteration continuesto 1140 where the scan may be processed. This is not to say that allscan processing occurs at this stage. Some processing that may occur atthis stage may include turning on an LED to notify the user that thisscan has been determined to be unique. Some data after this point maynot be stored, or an image sensor may collect less data (e.g. recordingimages at a lower resolution or frequency). In some embodiments, somedata may be collected such that this scanner can record where this scanended. In some embodiments, a scanner may stop recording once a scan isunique. In some embodiments, scan processing 1140 may initiate aprocess, or segment, of determining which characters have been imaged.

Processor

Processing capabilities in this scanner may be used for: triggering asensor; processing sensor output, particularly images; compression andother image manipulation; caching algorithms and other functionsassociated with memory; communications; interfacing with other modulesor functions related to security.

A processor coordinates the overall operation of the scanner. Usually, aprocessor operates from a program that is stored in memory. Ofparticular relevance to some embodiments of this invention, memory maystore program instructions about storage and processing of data acquiredby an optical sensor. In one embodiment, this processor may trigger anoptical sensor. This processor may then move the collected data tomemory. In another embodiment, a direct memory access chip may be ableto control or direct movement of data from an optical sensor to memory.A processor may then retrieve from memory instructions for storing andprocessing this data. In some embodiments, a processor may treatincoming signals as either data signals or control signals. A datasignal may contain a number or an address in memory. A control signalmay contain information such as an operation to perform. In someembodiments, these control signals may be stored in a list, much like arecipe for cooking. Like a recipe for cooking, these data signals formingredients, control signals act as steps, this internal memory, orcache, may act as a cutting board or other easily accessible place tokeep ingredients, and units for performing math may be equivalent to afood processor. For example, a processor may retrieve the firstinstruction containing a control signal and two data signals. Thiscontrol signal may instruct the processor to read in data from memory atthe addresses contained in the first two data signals. In oneembodiment, this information may be stored in a memory built into thisprocessor. The next control signal may instruct this processor to addthese two numbers together. This processor may perform this addition andthen return a result to its cache. A final control signal may directthis processor to store this result in memory. In this fashion aprocessor may be able to use control and data signals to performoperations.

In one embodiment, a processor may retrieve an image captured by anoptical sensor and perform traditional Optical Character Recognition(OCR) techniques to determine which characters, if any, appear in thisimage.

Metadata

In one embodiment, this processor may be able to create or interact withdata and data about data, known as metadata. An example of metadatawould be storing the time at which a picture was taken. To illustrate, aprocessor may trigger a camera. This processor may then store thispicture to memory. This processor may—also query a system clock todetermine what the current time is. This processor may then store thecurrent time in a memory location following the last location devoted tothis picture. In some cases, in this embodiment, an error code may bestored instead of a time stamp perhaps if something went wrong. Later,software in memory may instruct this processor to perform somecomputations on this picture. This software may also be written with theknowledge that the location following the end of the picture contains atime stamp. This software may then be able to work with not only apicture, but also the time that the picture was taken. In one embodimentthis may be implemented in a computer language such as C or C++ using adata structure implemented with the keyword “struct.” For instance, thisprocessor could be instructed to delete all pictures taken on a Monday.In one embodiment, this time stamp may record day of the week. If Mondayis represented by a ‘1’ in this field, a processor may be able toretrieve the data in this field for each picture. If a picture is foundto have a one in this field, then this processor may instruct the memoryto erase (or allow to be written over) the memory contained in addressescurrently storing the picture in question. In one embodiment, metadatamay be stored indirectly. For example, instead of storing a time stampfor each scan, scans may be placed in memory in chronological order.Another example may be placing items in a memory location wherein thisaddress corresponds to certain information.

Character Offsets

In one embodiment, a processor may compress a scanned image beforedetermining what text is contained. Some other scanners may determinewhat text is contained, possibly with OCR, and then compress theresults. Some other scanners may simply compress an image, possibly withan algorithm such as JPEG, but not determine what text is in this image.Other embodiments of a scanner may decompress an image beforedetermining which text is contained. For example, there may be a pictureof a string of text in memory. A processor may segment this imagecharacter by character. To do this, a processor may first determinewhich parts of an image constitute a character. This may involve findinga perimeter of black dots in a white field. A processor may then comparethese segments to each other in order to compress this image. In someembodiments, a goal of this compression may be to list where charactersare repeated without information as to which character is in an image.For instance, a result may indicate that the first character scanned isunique to this image, the second character is repeated in the sixth andeighth position, and so on. But, this result would not have informationas to what this first or second character may be. In one embodiment,this processor may store each segment of an image containing a characteras a separate image. This processor may then retrieve the first andsecond images and compare them to see if they are the same character.One way of doing this may be to subtract the images from each other.Each pixel's color may be represented by a number, in ascending order ofdarkness. By subtracting, a new image maybe formed indicating areaswhich do not have overlap between these two images (particularly if ascanner classifies each pixel as white or black). If this resultingimage does not have any regions with too much width, it may bedetermined that the two characters match. In another embodiment, eachcharacter may be segmented based on the vectors that form it. Thesevectors may then be stored as data. Then, instead of comparing images, aprocessor may simply compare vectors. Again, this may be done bysubtracting. To illustrate, vectors may be thought of as line segmentsof different, but fixed, lengths. Each vector points in a particulardirection. Subtraction occurs when two vectors are placed at the samestarting location. A third vector is formed from the endpoint of thefirst vector to the endpoint of the second vector. This means that theangle formed by the first two vectors is completed as a triangle. Ifthese resulting vectors are short enough, it may be determined thatthese two characters match. Continuing with this comparison, thisprocessor may write to memory whether or not this second charactermatches the first character. This processor may then compare this firstimage to a third character and repeat this process. This processor maycompare each new character to each unique character. This processor maythen end up with a list of numerals such as 1232456783692 (representingthe word ‘determinative’). The first character has been assigned 1, thesecond character 2, and so forth. Where a character has been seenbefore, such as the second ‘e’, it is assigned the number of the first‘e’, i.e. 2. Instead of an image of the word determinative, thisprocessor may store only 13 characters. These character strings may bedecompressed. In one embodiment, only the text will be recovered, notrelative offsets of where these characters appeared on the page. Becausenot all of the information gathered may be stored, the storedinformation may be smaller than the original image. One way todecompress this image would be to treat this string of numbers as anaddress into a list of word combinations. If a long enough string isused, only one result may be found. In some embodiments different lengthtext strings may be stored such that these offsets may be converted. Insome embodiments, metadata may be used to return results that are morelikely than others. In some embodiments, these text strings may be wordsin a given language. In some embodiments a processor may useinstructions from memory to iterate through different possible textstrings that may result in this combination of offsets.

FIG. 12 is a flow diagram showing steps typically performed by thesystem in order to perform symbolic compression. The first step 1210ends with the scanned image in memory. To accomplish this, a processormay trigger an image sensor. This processor may respond to anacknowledgment of this sensor by issuing commands to move image datafrom this sensor to memory. In the next step 1220, the processoranalyzes this image data. It may use techniques from art relating tooptical character recognition such as white space analysis orcharacterization, vector or blob analysis, a width based approach orother techniques to determine which parts of an image form a character.The following step 1230 is where the processor loads the first characterrepresentation from memory. Next, 1240 the processor will compare thischaracter to characters in the cache. Being the first character, thecache will be empty. Therefore, this iteration proceeds to 1250 wherethis character is added to the cache. The processor may write thisrepresentation to memory, and may store data enabling it to find thisdata again. This may be implemented as a linked list or as an array(with a variable signifying length). After this, 1260 may output thisidentifier to two places. A first step in one embodiment of this processis this identifier will be added to the output stream. Because this isthe first character, the output is of zero length. This identifier willalso be stored with the character representation in cache so that ifthis character is found again, it can be identified. Continuing withthis example, 1280 the processor loads from memory data to determine ifthere are more characters. Assuming there are, this process returns to1230. Similar to the last character, it is loaded 1230, and thencompared to the cache 1240. To illustrate, assume that this charactermatches the first. This process continues to a new state 1270. In thisstate, the processor retrieves from memory the identifier of the matchedcharacter. This identifier is then added to the output stream. Becausethis character matches one already in the cache, the cache is notupdated nor is a new identifier created. This iteration continues to1280. If the processor determines that there are no more characters toconsider, this routine finishes 1290.

FIG. 13 is a state diagram showing the evolving state of the symboliccompression process while processing a scan capturing the word“determinative.” Each line (containing a letter, parentheses, and anumber) is representative of an iteration. The color red is used toindicate new data in this iteration. On the left, a red characterdenotes which character has been read in. In the middle column is arepresentation of the cache. Inside the parentheses are the uniquecharacters that have been previously seen. In the first row, for theletter d, this is empty. The column on the right is a running record ofthe output stream. In this embodiment, the red numbers are being addedon the right because each new character is further to the right than theprevious characters. Sometimes this number is larger than any previousone. This is because it represents a new number and in this embodimentidentifiers are produced in numeric ascending order. Sometimes a numberis repeated. This means that this character initially appeared at thelocation held by the earlier identifier. In this example, the letter ‘e’appears three times, but all share the identifier ‘2’ because the first‘e’ was assigned a ‘2’. The identifiers have been described as numerals,but this is not a requirement. Further, these identifiers do not need tobe in an order. In some embodiments, a processor may be used to checkthat a identifier is unique.

FIG. 14 is a flow diagram showing steps typically performed by thesystem to determine character offsets within an image captured during ascan. To illustrate, this process may be envisioned as sliding an imageof text across itself. This process begins 1410 after a sensor image hascaptured an image. A processor in this scanner may create a queue ofpixels to compare with this original image. This queue may be verticalslices of a copy of this original image. Another approach may be to useaddress pointers to keep track of which vertical slices are to becompared, and then create temporary copies of these slices in theprocessor. The following step 1420 compares one length. Length refers toa horizontal width of a vertical slice. This may be one pixel, ormultiple pixels. It may be heuristically determined based on whitespace.This slice may be the entire image. This slice is compared to slicesfrom an original image. This may be done by comparing this slicesequentially to slices from an original. In one embodiment, thiscomparison slice is sequentially compared to a corresponding slice onestep over. A step may be the same distance as a horizontal width. A stepmay be a pixel or multiple pixels. In the following stage of thisprocess 1430, this processor records to memory where this image matchesitself. This data may contain which vertical slices match other verticalslices of this original image. A matching section may or may not be acharacter (e.g. it might be two characters that only appear in order).The next step 1440 is to determine if this comparison is complete.Comparison does not necessarily refer to one slice, but to this largerprocess. One way to determine if this comparison is complete if thereare no more slices to compare.

FIG. 15 is a convolution diagram showing one way to visualize thisprocess. This shows a step by step breakdown of using a single slice tofind character offsets. The exemplary steps are numbered, such as the 11500 shown. Lines 1510 are used to separate the steps. An image of theword determinative is being compared. On the left is a slice 1520 and onthe right is a copy 1530 in memory. When an overlap is found, thisillustration designates this with a triangle 1540. FIG. 16 is a furtherconvolution diagram. Here, the slice copy 1620 is shown above the copyin memory 1630 so that it may be clearer why a match is found 1640.

FIG. 17 is a flow diagram showing steps typically performed by thesystem in order to record subsegmented segments. In this embodiment, onedifficulty may be in determining which parts of an image are acharacter. One approach may be to subdivide this image into sectionsthat have a discrete number of characters. In one embodiment, thisprocess may be iteratively completed as matches are found, or may bestarted after all matches have been found. In 1710 this image is onesegment, i.e. an image of a discrete number of characters (this imagemay be cropped to the section enclosed in whitespace). The next section1720 sees if there are more matching subsections to process. If thereare no more, then this process may terminate 1770, but if there are thenthis iteration proceeds to the following step 1730. In this section 1730these sections are recorded. One dimensional location measurements maybe sent to memory. One way to associate these segments with theirmatching counterparts is to use an identifier. Another approach is tostore them in memory such that their relative locations provideinformation as to how they match (e.g. each matching pair is storedsequentially, and odd numbered matches have one repeated region suchthat there is an even number). The next step 1740 determines if any ofthese matching segments overlap with any segment. This may be where onesegment entirely encompasses another, or where only a section of eachoverlaps. In the following step 1750 these segments may be subdivided.This may occur where a first segment has multiple characters and asecond segment has smaller number of these characters. For example, afirst matched segment may contain “ing” and a second segment may contain“in.” This process may then subdivide these into segments containing“in” (i.e. what was matched) and “g” (i.e. what was left). If allsegments begin with a discrete number of characters, removing a discretenumber of characters will also leave a discrete number of characters. Inthe next step, 1760 each of these segments may be stored as the largestsegment that is either completely overlapped or entirely free ofoverlap. This process may be similar to when locations are stored 1730.In one embodiment, the same system of correlating matching segments isused. After this process, an original image will have a number ofmatching segments identified. Space between these segments (or betweenthese segments and at least one edge of this image) may then be treatedas new segments that do not match any other segment. It may be that eachcharacter has its own segment. In one embodiment, character analysistechniques, such as blob analysis or connectedness analysis may be usedto further subdivide segments. These segments may then be used todetermine the text on which they are based. In one embodiment, thesesegments are represented as offsets, and these offsets are used to lookup which text would produce these offsets. In some embodiments, thestorage that contains this information may be populated with data thatcan account for segments containing multiple characters.

Plug in Modules

In one embodiment, a scanner may be able to have another device pluggedinto it, such as a GPS module. This device may also be susceptible to ahandheld form factor. This device may have a self-contained powersupply. This device may use power from this scanner's power source. Thisdevice may have separate processing capabilities.

This device may be connected and disconnected by hand and without tools.A device may provide further functionality to a scanner. For example, adevice may store financial information such that this scanner is able tointeract with a credit card processor. In one embodiment, a centralprocessor for a scanner may detect that a button has been pushed toauthorize a financial transaction. This processor may then check itsmemory to determine the starting address in memory for the controlsignals to carry out this process. The first instruction may direct thisprocessor to notify the device with credit card information. In oneembodiment, there may be a direct connection between this scannerprocessor and this device. In such an embodiment, this processor maysimply send an instruction to this device over this direct connection.In another embodiment, there may be a central bus connection. In such asituation, a command from the processor may be received by every part ofthe scanner, e.g. the memory, the image sensor, the power unit and thedevice. In such an embodiment, a command from this processor may specifythat it is for the device. One way to do this would be to use the firstbits of a command. Each combination of bit settings, e.g. 101, 110, 001,may be assigned to a different part of this scanner. The device withcredit card information may receive this command. It may determine thatthe processor is attempting to complete a financial transaction. Thisdevice may respond to the processor instructing it to connect to sometype of financial clearinghouse. This may be by providing a telephonenumber, a Uniform Resource Locator, an Internet Protocol address, or byreferring the processor to software already in memory. This processormay then establish a connection with the clearinghouse. This may happenwith a wireless internet connection. In such an embodiment, a processormay first issue a command to energize an antenna in a wireless radio (orantennae, for example, in multiple-in multiple-out antenna schemes).This wireless radio may then attempt to detect a wireless network. Ifsuch a connection is detected, this radio may notify the processor thata network has been detected, and that the radio is ready to transceive.The processor may then begin to send out data. To do so, it may conformthe data to the Transmission Control Protocol/Internet Protocol. In sucha scenario, data may be sent in packets of varying length. Each packetwill have a header that specifies, among other things, a destinationaddress. Once a connection to this financial clearinghouse has beencreated, the processor may load into its cache instructions for how tocomplete the requested financial transaction. Some of these instructionsmay require the processor to receive information from the device. Theprocessor may request such data, and then send it to the clearinghouseover the wireless internet connection established by the radio. Inanother scenario, the connection to the clearinghouse may be createdwith a device not a part of the scanner. For example, the scanner mayhave a bluetooth radio. Such a radio may not be able to send informationto the clearinghouse by itself, but may be able to connect to a cellularphone. This cellular phone may be able to establish an internetconnection or simply place a phone call to this clearinghouse. Inanother scenario, the scanner may be connected via wire to a personalcomputer. This personal computer may be able to establish a connectionwith this clearinghouse, possibly over a modem or ethernet card.

Gestures

In some embodiments, a scanner may be able to detect gestures. A gestureis a scanning motion, or series of motions, where these motions serve ascommands or other data beyond which images to capture. One example mightbe if a user circles text. Images within this circle may have metadataassociated specifying that these images were in a circle. When reviewingresults, circled images may be denoted as important. Another examplewould be if a user scans backwards over something previously scanned.This may instruct a scanner to erase this previous scan. Gestures may becomposed of smaller gestures. For example, repeatedly scanning back andforth over content may be interpreted as a single rubbing motion(possibly denoting importance) rather than a series of discretegestures.

In one embodiment, a scanner may detect the start of a gesture, followedby identifying this gesture, followed by detecting the end of thisgesture. This scanner may then associate a target of this gesture withmetadata or take another action.

Detecting Motion

In one embodiment, a gesture may be started whenever motion is detectedand this scanner is not already in an elemental gesture. One way todetect motion is to compare sequentially captured images, much like anoptical mouse. In one embodiment, a first image may be analyzed forpatterns. A processor will use software instructions to bring this imageinto memory and then find parts of this image that differ from abackground. This processor may then record to memory where thesepatterns were located and what they were. This processor may then load asecond image and attempt to detect these original patterns. Thisprocessor may then compare how the locations of these patterns may havechanged from the first image. The difference may be encoded as vectors.By repeating this process, a series of vectors may be formed. Similar to“connect the dots” these line segments, or vectors, may trace out amotion sequence. In another embodiment, a processor may directly comparethe first and second image, similar to technology employed in opticalmice. This processor may, in one embodiment, find vectors between pixels(or some representative pixels) in the first and second image. Thisprocessor may then move all of the pixels in the first image one pixelto the right (with some pixels no longer being part of this image). Thisprocessor may then recalculate these vectors. If these vectors areshorter, this processor may continue moving pixels to the right untilthere is no horizontal distance between pixels. If these vectors arelonger, this processor may begin moving pixels to the left. This processmay be repeated along a vertical or other axis.

Determining an Intended Gesture

In one embodiment, the start of a gesture may be followed by an effortto classify this motion. The complexity of this step may depend on whichclassifications exist. For example, if a scanner only recognizes onegesture, e.g. backwards, classification efforts may not need to considerany vertical components of motion. In some embodiments, motion may berepresented as a vector, or a series of vectors. In some embodiments,vectors may be replaced by a single representative vector as describedherein. For instance, if a user is attempting to scan perfectlyhorizontally, but instead oscillates vertically a little, a scanner maybe able to determine that this user intended a horizontal line, andreplace the myriad vectors with one horizontal one. Continuing with thisembodiment, say this scanner recognizes forward, backward, up, down,circling and diagonal. It may be that each of these vector's horizontalcomponents have matching polarities (e.g. backwards), but the verticalcomponents may have different polarities (i.e. up and down). Further, itmay be that no vector varies from the horizontal axis by more than 15degrees (out of 360). This processor may load the appropriate imagesinto its cache to be analyzed. This processor may then use instructionsfrom memory to determine the series of motion vectors followed. Thisprocessor may then store these vectors in memory. This processor maythen retrieve further software instructions to process these vectors.This processor may then compare these horizontal and vertical componentswith zero to determine their polarities. This processor may divide theabsolute value of a vertical component by the absolute value of thehorizontal component. This may then be compared with the arctangent of15 degrees (approximately 0.27) to determine if this vector is within 15degrees. This processor may then remove from memory the short vectorsand simply replace them with one vector whose horizontal component spansthe entire length and whose vertical component is zero.

Combination Gestures

In one embodiment, a scanner may be able to combine gestures into othergestures. For example, a scanner may recognize forward, backward andrubbing (back and forth). The motions used to make a rubbing motion maybe individually detected as gestures. FIG. 18 is a flow diagram showingsteps typically performed by the system in order to recognize“combination gestures” that are performed by performing a series ofconstituent gestures. The forward motion is detected, an in 1810 it isidentified as forward, as discussed elsewhere. In 1820 it is added to agesture group. For simplicity, this embodiment has only one gesturegroup (though other embodiments may have more) and this group isclassified sequentially (though other embodiments may group gesturesbased on other properties). In the next step 1830, it may be determinedthat this single forward motion is not a combination gesture, so thisiteration proceeds to 1850. From here, another gesture may be found1810. In one embodiment, a processor may retrieve a variable from memoryto determine if how many, if any, gestures are in a queue. A processormay also retrieve memory from a linked list by visiting a known address.Because there is a new gesture, this process returns to 1810. This nextgesture will be identified as a single backwards motion. In 1820 this isadded to the one group in memory. Following this, at 1830 this processormay try to determine if a combination gesture exists. In this example,the only combination gestures are forward, backwards, forwards andbackwards, forward, backwards. In one embodiment, a “tree” may be storedin memory outlining these combination gestures. A processor could accessa root node at a predetermined location and retrieve a data structurelisting elemental gestures. Each gesture would point to an address, oraddresses, of possible next gestures. This branching structure is knownas a tree. The processor from this example may trace forward, backwardsand not arrive at a terminal symbol. Thus, this process continues to1850 and then onto 1810. There, the next gesture is identified as aforward gesture and then 1820 added to the one group. This time 1830will identify this sequence as rubbing and then 1840 replace the threeseparate gestures with one rubbing gesture. Optionally, a combinationgesture may not be a fixed pattern. For example, rubbing may be definedas at least one repetition of forwards, backwards, or backwards,forwards. Optionally, combination gestures may form components of othercombination gestures. In one embodiment a scanner may recognizecircling, rubbing and rubbing then circling.

Backwards and Forwards

In one embodiment, a scanner may need to associate a relative directionin an image with a direction relative to a document. For instance, ascanner may want to classify scans to the left as backwards. In oneembodiment, a scanner may use two image sensors to be able to determinea direction relative to a document by assuming that a document is “rightside up” and then using an absolute direction. In one embodiment, anabsolute direction may be determined by using two image sensors placednext to each other. Such a scanner may be able to determine a directionrelative to an image from each and an absolute direction by comparingthese two (and possibly by having stored how images move between thesesensors based on scanner orientation). Another approach may be to havesomething (e.g. a stick, dot of light, proximity sensor) obscure a smallpart of an image sensor such that an absolute direction may bedetermined. Another approach to finding a direction relative to adocument may be by scanning an image (such as a 2-D barcode, edge of adocument or known character) where this scanner has stored which part ofthis image is up (or down, left, right, or other direction). In someembodiments this information may be manually input by a user. One way ofdetermining which direction is backwards may be to total the horizontalcomponents of all scans by this scanner, and then deem the larger ofleft to right or right to left as forward and the other as backwards.This may also be done over a window of scans. Instead of totalinghorizontal components for all scans, a scanner may simply total the last5 or 10 scans. This may allow a processor to perform fewer computationsor allow a scanner to more accurately predict if a user has switchedlanguages (and such a language is written in a different direction).Some content may use serifs, which are small lines extending from theends of some characters. In one embodiment, a scanner may detect vectorsin this size range and compare the direction of these to determine whichdirection is forward. Another approach may be to have some embodimentswith a fixed direction forward. If a user only reads languages that movein one direction, it may be more efficient if they have a scanner thatdoes not compute, and therefore does not mistake, which direction isbeing scanned. Some users may want an embodiment in which a switch isused to set a direction as forward.

FIG. 19 is a flow diagram showing steps typically performed by thesystem to detect a backwards motion This process starts when a newelemental gesture is detected 1900. One example of this would be movinga scanner to a document, or turning on a scanner that is already near adocument. In this new gesture stage 1900 motion will be detected. Thenext step 1910 is to detect a direction. As described herein, oneembodiment of this may be finding a series of vectors throughconsecutive images of a distinguishing mark. Once a direction has beenfound, this iteration may consider if this direction is backwards 1920.Some aspects of this are disclosed in the preceding paragraph. If thisdirection is not backwards, this process returns to 1900 and waits untila new gesture begins. This process may then repeat to check this newgesture. If this motion is determined to be backwards then this processproceeds to 1930. In one embodiment, this stage may store this scan withmetadata denoting it as backwards. In one embodiment a scanner in thisstage may simply reverse this image such that it may be processed asthough it was a forward scan. In one embodiment, this process may occurby switching image slices. Consider this image as a series of N onepixel wide vertical slices. A slice in position 0 may be switched withthe slice in position N−1 (the last slice). For any slice i, it may beswitched with a slice in position N−1−i. If there are an odd number ofslices, the slice in the middle (i.e. N−1−i=i) may be skipped in someembodiments. In one embodiment of this invention, if a scan isdetermined to be backwards a scanner processor may store this result ina gesture group.

Circle

Another aspect of classifying motion may be detecting if an area haspreviously been scanned. This may be useful in detecting a circularmotion (i.e. where this circle is completed) or in starting a newgesture (e.g. in a series of back and forth strokes). One way to detecta previously scanned image is by matching patterns of pixels. In oneembodiment, pixels may be grouped into patterns, like a constellation orforming a larger shape (e.g. pixels in the shape of the letter ‘d’). Itmay be that a processor finds a pattern representative of each corner ofan image and then sorts these images, possibly by number of pixels.Later images may have patterns detected and matched (as describedelsewhere) with earlier patterns in memory. Another approach may be fora processor to add motion vectors together to determine if a vector evercrosses another vector, particularly the starting point of the firstvector. These techniques may be combined where vectors are used todetermine if there might be a crossing, and then image analysis is usedto determine if such a crossing did in fact occur.

FIG. 20 is a gesture diagram showing samples to detect that a user hasmade a circle gesture. This process begins when a new elemental gestureis detected 2000. This process then detects if this gesture hasintersected itself 2010. In one embodiment, a user may use a wheel todial in how close two segments of a gesture need to be in order to beconsidered intersecting. In another embodiment, this value may behardwired. FIG. 21 is a gesture diagram showing sample attempts atperforming a circle gesture. The first gesture 2100 intersects at 2110.In this example, the beginning and the end of this motion actually crossover each other, and therefore may be detected as an intersection. Thesecond gesture 2120, shows a gesture that may be determined to be acircle. The beginning and end come nearest to each other at 2130. Insome embodiments this distance may be within an allowable margin to beconsidered an intersection. The third gesture 2140 illustrates a gesturethat may not be considered a circle. In some embodiments, the distancebetween the two nearest points 2150, 2160 may be too far to beconsidered an intersection (though some embodiments may be programmed toaccept even this). In some embodiments, a scanner may be programmed tonot consider certain regions for intersection until this scanner hasleft them. In some embodiments, this may prevent a scanner fromdetecting an intersection between two consecutive points. If thisgesture has intersected itself, this process of detecting a circlecontinues in FIG. 20 at 2020 where the vertical component is considered.If this gesture has not intersected itself, this iteration returns toawait a new gesture. In one embodiment, a vertical component may beconsidered to ensure that this gesture is not a rubbing gesture, which auser may not want to have interpreted as a circle. In one embodiment,vertical component may be the difference between the highest and lowestpoints reached. In one embodiment, this stage may be determined bycomparing this difference to a threshold. If this vertical component isnot large enough, this process may return to await another gesture. Ifthis component has been met, this process continues to 2030 where ahorizontal component may be considered. In some embodiments, thisprocess may mirror that of the vertical component process. If a gesturehas met all three of these criteria (intersection, vertical andhorizontal) it may be classified as a circle 2040. Whenever an iterationdetermines that one of these criteria is not met, the process returns to2000 to await a new gesture. In one embodiment, the encircled text maybe stored with metadata denoting this. In one embodiment only strings ofcharacters bounded by a space character on each end (e.g. completewords) may be saved with metadata denoting a circle. In one embodiment,a scanner may only store images (as opposed to data for determiningtext) if a circle has been made.

Rubbing

FIG. 22 is a flow diagram showing steps typically performed by thesystem to detect a rubbing gesture. In some embodiments, this may be aback and forth type motion. In some embodiments, scanning up, down andthen up may be considered rubbing. In this process a new elementalgesture is started 2200. The next stage of this process is to detect adirection, as is described elsewhere 2210. This iteration proceeds todetect a direction change 2220. In some embodiments, this may be definedas a motion that cannot be described by extending the current vector. Insome embodiments this may be defined as vectors that can not bedescribed with a single representative vector. This process may stay atthis stage 2220 until a new direction is detected. In some embodiments,ending a scan (e.g. by removing this scanner or by turning it off) maybe designated a direction change (possibly because this scanner is nolonger traveling in the original direction). This iteration proceeds to2230 where this process determines if this new direction is reverse. Insome embodiments, this may be defined as a new vector that is between170 and 190 degrees in a different direction (where 180 is exactly theopposite direction). In some embodiments, an incoming or outgoingvector, or both, may need to be of a minimum length. In someembodiments, this direction change may be defined as an intersectionwhere either the horizontal or vertical component is not large enough tobe a circle.

If this new direction is not reverse (including, in some embodiments,ending a scan) then this process returns to its initial state 2200 toawait a new gesture. If this new direction is reverse, then thisiteration proceeds to 2240 to detect another direction change. This stepmay be performed in a manner similar to the other step labeled “Detectdirection change” 2220. From there, this iteration may proceed to 2250where it may be determined that this new direction is the reverse of thesecond. In some embodiments, this third direction may not be parallel tothe first direction. For example, if a direction within fifteen degreesof 180 is considered reverse, these first and third directions maydiffer by 30 degrees. In some embodiments, this step may be implementedin a fashion similar to the other step labeled “Is this directionreverse?” 2230.

If this new direction is the reverse of the second this processcontinues to 2260 where the gesture is treated as rubbing. In oneembodiment, this may comprise including metadata with other data fromthis scan. If a direction is determined to not be the reverse of aprevious direction 2230, 2250 this process returns to 2200.

Backwards to Erase

In different embodiments, different gestures may be associated withdifferent results. In one embodiment, a forward scan may be trigger ascanner to store this scan. If this scan, or a section of it, is laterscanned with a backwards gesture, this embodiment may remove this secondscan target from memory. FIG. 23 is a schematic diagram showing a firstpoint in an example of the performance of the backward slash scanninggesture. In FIG. 23, a scanner 2300 is above a page of text 2310. Whenthis scanner is moved to the right, text is captured from the page. FIG.24 is a schematic diagram showing a second point in an example of theperformance of the backward slash scanning gesture. FIG. 24 shows a boxof text 2400 that may have been captured from a document 2410. This boxis shown for illustrative purposes, such a box may not be visible to auser. FIG. 25 is a schematic diagram showing a third point in an exampleof the performance of the backward slash scanning gesture. FIG. 25 showsa scanner 2500 moving in the opposite direction 2510 across thisdocument 2520. The first box 2530 is still shown and now a second box2540 is shown. This second box 2540 shows the text that may have beenselected as the scanner makes its second motion. This second box is alsoshown for illustrative purposes, and is unlikely to be displayed to auser. Further, this box's height is larger than the first box's toclarify the overlap, not to signify that a second motion collects moreimage data than the first. In some embodiments, text enclosed in boththe first and second scan regions may be deleted from memory. In someembodiments, if most of a scan has been rescanned as backwards theentire scan may be deleted. In some embodiments, this data may simply beflagged that it can be overwritten, but not necessarily erased.

In some embodiments, a rubbing or back and forth gesture is interpretedas highlighting. For example, a user may make a series of scans with aforward gesture and designate one scan target with a rubbing gesture. Inone embodiment, a user who retrieves these scans may see this documentwith the rubbed scan highlighted (e.g. this text is on a brightlycolored field) and the other text unmarked. In another embodiment, textthat was denoted with a forwards gesture may be underlined.

In some embodiments, a variety of gestures may be matched with any of anumber of results. In addition to those described herein, gestures mayinclude combinations of horizontal, vertical or diagonal motions. Somemotions may be curved. As disclosed herein, some motions may bedescribed in terms of their component vectors. By analyzing thesecomponent vectors, some embodiments may be able to differentiate betweenstraight and curved lines, or detect squiggles. Some embodiments mayrecognize “X” shaped gestures (i.e. a pair of diagonal lines crossingwithin 15 degrees of orthogonality). One embodiment may determine that a“T” gesture selects an entire paragraph as a scan. In some embodiments astraight or slightly curved vertical line in a margin (i.e. a documentregion primarily devoid of characters or images) may serve to designatean entire paragraph. In some embodiments, a gesture may associatemetadata with more than one scan. For example, a user may gesture an “X”followed by a numeral (e.g. 4). In one embodiment, this “4” may berecognized as a gesture. The X gesture may be interpreted to mean thatprevious scans ought to be deleted, and the “4” may instruct thisscanner to delete the previous four gestures. In one embodiment, arubbing gesture may be taken to set a rubbing mode, i.e. all scans aretreated as rubbing until an end gesture is entered (possibly a newrubbing gesture, possibly a circle with a diagonal line similar to aforward slash that intersects the circle in two places). In someembodiments, a user may be able to use a button, or other input, incombination with a gesture to alter that gesture's result. For example,scanning backwards may mean that this scanned data ought to be erased,but touching a button and then scanning may mean that a user would liketo add this text to a scanner's dictionary of known words. In such anembodiment, a scanner may use template matching or other OCR techniquesto determine which characters these are. In this embodiment a processormay then direct memory to store this string of determined characters asa word in a table of recognized character strings.

In some embodiments, gestures may be able to set modes. For example, inone embodiment, there may be a gesture that performs a function similarto numlock (i.e. when this flag is set, certain inputs are interpreteddifferently). In one embodiment, a user may gesture a “¶” which may beinterpreted to mean that all scans and gestures apply to entireparagraphs (e.g. circling 3 words is interpreted as circling the entireparagraph containing those three words) until another “¶” is made.

Gestures and Computer Monitors

Some possible results include pasting or cutting from a source document,in addition to copying from either source or rendered. In one embodimenta user may scan backwards to delete it from one of their copies of asource document. In one embodiment a user may be able to copy from apaper document and paste into an electronic document. In one embodimenta user may use their scanner to interface with a computer monitor inorder to interact with an electronic document. In one embodiment a usermay gesture a caret (“^”) scan on a computer monitor to paste text. Inone embodiment, a scanner may determine that this shape is a caret andthen communicate with this computer through a scanner output (e.g. awireless keyboard protocol, bluetooth, a PS/2 connection) to instructthe computer to insert text. This scanner may then provide the text ofthis user's last forward scan (or an image such that the computer mayperform OCR). A word processing program on this computer may then insertthis text where the caret gesture designated. In one embodiment ascanner may be used to interact with a computer in a fashion similar toa digital pen. Such a scanner may have a variety of gestures to issuecommands matching those of peripherals such as a mouse or joystick. Inone embodiment, a scanner may function as a joystick by being heldvertically pointing down. When a user moves this joystick in a givendirection either by tilting or moving, these movements may byinterpreted by this scanner as a series of images. For example, if ascanner is tilted forwards, an image sensor may record a series ofimages going the opposite direction, each with more skew. By mapping howparts of these images move or skew, a scanner may be able to determinehow it is being moved. These motions may then be communicated to acomputer. In one embodiment a scanner may be used by pointing at ascreen at a range close enough such that an image sensor may take imagesof screen that are detailed enough to distinguish a screen location. Inone embodiment a cursor may become smaller as a scanner comes closer(and therefore this scanner can more accurately predict where over ascreen it is). In one embodiment a scanner may determine its position byquerying a computer's display buffer to find a matching image. In oneembodiment, a scanner may take a series of images as it approaches ascreen. This series of images may be used to iteratively zoom in. Eachpicture may be compared to an earlier image (e.g. the previous image),and the overlapping region determined. As this scanner moves closer,these overlapping regions may become smaller (unless this image sensoris a laser, in which case the image detected may not change size). Insome embodiments, a scanner may be able to issue mouse or joystick stylecommands (e.g. click, left click, mouse chords). In some embodiments,the scanner has a button, switch or other manual input. In someembodiments, the scanner recognizes gestures to issue these commands.For example, an upwards forward slash gesture of less than 2 cm may beinterpreted as a click. In some embodiments, the scanner embodiment usesa dot gesture as a left click. A dot may be a scan of less than 2seconds that stays in a 1 cm radius (e.g. moving a scanner to touch ascreen and then retracting it). With one embodiment, a user may be ableto select text in a word processing program and then use a dot gestureon a software button in this program to bold the selected text. In oneembodiment, a scanner may be used to scroll through a document on acomputer monitor.

From the foregoing, it will be appreciated that specific embodiments ofthe invention have been described herein for purposes of illustration,but that various modifications may be made without deviating from thespirit and scope of the invention. Accordingly, the invention is notlimited except as by the appended claims.

1. A handheld optical scanner for capturing images of text from arendered document, comprising: a package adapted to be held in a hand ofa user; and inside the package: an optical sensor that captures imagesof text from the rendered document; a proximity sensor that determineswhen the optical sensor is within a predetermined distance andorientation of the rendered document; and a triggering mechanism thatautomatically causes the optical sensor to capture an image of text fromthe rendered document in response to the proximity sensor determiningthat the optical sensor is within the predetermined distance andorientation of the rendered document.
 2. The handheld optical scanner ofclaim 1, further comprising an output indicator.
 3. The handheld opticalscanner of claim 2, further comprising a source of electrical energyused to power components of the handheld optical scanner, wherein theoutput indicator is configured to indicate whether the electrical energysource has been exhausted.
 4. The handheld optical scanner of claim 2,wherein the output indicator is configured to indicate whether textrecently scanned from the rendered document by the user should bere-scanned.
 5. The handheld optical scanner of claim 2, furthercomprising a data interface for exchanging data between the scanner anda host, wherein the output indicator is configured to indicate whetherthe data interface is presently connected to the host.
 6. The handheldoptical scanner of claim 2, further comprising a gesture detectionsubsystem for detecting a performance of a gesture with the scanner,wherein the output indicator is configured to indicate whether thegesture detection subsystem has detected the performance of the gesture.7. The handheld optical scanner of claim 2, further comprising a memorythat stores images of text captured from the rendered document, whereinthe output indicator is configured to indicate an extent to which acapacity of the memory has been consumed.
 8. The handheld opticalscanner of claim 2, wherein the output indicator is configured toindicate whether text recently scanned from the rendered document by theuser is adequate to uniquely identify the rendered document.
 9. Thehandheld optical scanner of claim 2, wherein the output indicator isconfigured to indicate whether text recently scanned from the rendereddocument by the user is adequate to uniquely identify an electronicdocument from which the rendered document was rendered.
 10. The handheldoptical scanner of claim 2 wherein the output indicator comprises avisual indicator.
 11. The handheld optical scanner of claim 2 whereinthe output indicator comprises an audio indicator.
 12. The handheldoptical scanner of claim 2 wherein the output indicator is configured tocause the package to vibrate.
 13. The handheld optical scanner of claim1, further comprising a memory for storing images of text captured fromthe rendered document.
 14. The handheld optical scanner of claim 13,further comprising: a clock; and a timestamping module that associateswith each image of text stored in the memory an indication of a timeobtained from the clock when the image of text was captured from therendered document.
 15. The handheld optical scanner of claim 1, whereinthe package is a housing for a mobile phone.
 16. The handheld opticalscanner of claim 1, wherein the proximity sensor determines when theoptical sensor is within the predetermined distance and orientation ofthe rendered document based on image data received from the opticalsensor.